Computer Beacon high quality .NET libraries in open source

JSON Toolkit 4.2 update

Posted on 9/25/2013

This update completes the JSON Toolkit by adding the missing deserializing feature in the previous release.

To deseriaize a JSON string to a .NET class, all you need is one line of C# code:

var u2 = (User)Serialize.Deserialize(typeof(User), new JsonObject(someJSONstring));

Here's a more complete example:

var someJsonString = "{\"Name\":\"Hello World\"}";

var u2 = (User)Serialize.Deserialize(typeof(User), new JsonObject(someJSONstring));

 

Isn't that easy and straight forward?


Next: FGT update for Graph v2.0 Previous: Facebook Graph Toolkit 5.0

Comments

Add comment
Name:
Comment: