Deserialize json string into object in c#
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;}
}

Mageshwaran RPosted Oct 4, 2020, 8:42 AM
Varun SetiaPosted Oct 2, 2020, 9:14 AM
Jignesh KumarPosted Oct 2, 2020, 4:14 AM
Asma KhalidPosted Oct 2, 2020, 1:57 AM
Ajay GohilPosted Oct 1, 2020, 11:27 PM
Sachin SinghPosted Oct 1, 2020, 11:44 AM