Dynamic JSON to object conversion RRS feed

  • Question

  • Hi all,

    I have a website that returns 2 different kinds of JSON objects. The first is a simple 'Error' object with 4 properties, whilst the other is a complex object that returns the actual data.

    Using JSON.Net, how is it possible to determine at runtime what kind of object the website is returning, then convert it appropriately?



    Marketplace: [url=]Itza[/url] - Review: [url=]Itza Update[/url]

    Monday, October 15, 2012 4:06 PM


All replies