(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .

JSON deserialization with JSON.net: class hierarchies

(0 votes)
0 comments   /   posted by Silverlight Show on Feb 07, 2012
Tags:   windows-phone , json , joost-van-schaik

Read original post by Joost van Schaik at .NET by Example

In part 1 of this series I described the basics of creating classes from a JSON string and then simply deserializing the string into a (list of) classes. That way, you don’t have all the hooplah of SOAP, but still have strongly-typed classes in your client app. But beware, there is no formal contract either, so on a beautiful morning you might start to think that either you had too much of a drink yesterday evening, or that the company providing the data feed for your app indeed has started to sell Windows Phone 7 devices made by Sony, with a 65” screen.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter