siva nathan

siva nathan

  • 1.4k
  • 759
  • 142.4k

Deserialize json string into object in c#

Oct 1 2020 10:51 AM
Hi, I have a json string as follows Var json content={"label":"abc","value":{"id":13,"street":"qwerty"}} Convert this and assign into student class Public class student { Public string label {get;set;} Public address value{get;set;} } Public class address { public int id {get;set;} Public string street {get;set;} }

Answers (6)