Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


JSON deserialization with basics

AddThis Social Bookmark Button
I’ve been contemplating an article about handling JSON for some time now, but it turned out to be a rather long article and writing extremely large blog posts is someone else’s trade mark these days ;-). So I’d thought to try something new, and write a short series in three parts. Part 1 handles the basics Part 2 handles advanced deserialization with class hierarchies Part 3 handles a caching-and-updating scenarios. And this is part 1 ;-) This whole article actually boils down to one line of code, but I need to go
to some hooplah to show you how to use it. It all begin with the data. Consider this piece of quite readable piece of JSON, describing a few recent Windows Phone models. [ { "Brand": "Nokia","Type" : "Lumia 800", "Specs":{"Storage" : "16GB", "Memory": "512MB","Screensize" : "3.7"} }, { "Brand": "Nokia", "Type" : "Lumia 710", "Specs":{"Storage" : "8GB","Memory": "512MB","Screensize" : "3.7"} }, { "Brand": "Nokia","Type" : "Lumia 900", "Specs":{"Storage" : "8GB", "Memory": "512MB","Screensize" : "4.3" } ...(Read whole news on source site)

Home : Blog List : .NET by Example : JSON deserialization with basics