siva nathan

siva nathan

  • 1.4k
  • 573
  • 70.4k

Deserialize json string into object in c#

Oct 1 2020 10:51 AM
Hi, I have a json string as followsVar json content={"label":"abc","value":{"id":13,"street":"qwerty"}}Convert this and assign into student classPublic 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;} }

Brought to you by:

Answers (6)