JSON deserialization is the process of converting a JSON string into an instance of an object, often a class.
JSON (javascriptObject Notation) is an efficient data encoding format that enables fast exchanges of small amounts of data between client browsers and ajax-enabled Web services.
JSON deserialization is the process of converting a JSON string into an instance of an object, often a class. JSON encoded strings carry both structural and data information, so the instance of the object resulting from deserialization is a well-defined, data-filled object.
For example the following jsonstring:
string json_encoded_string = @"{""name"" : ""John"", ""surname"" : ""Doe"", ""age"" : 38}";
can be deserialized into an instance of the following class:
class Person
{
public string name { get; set; }
public string surname { get; set; }
public int age { get; set; }
}