none
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?

    Thanks,

    Ivan


    Marketplace: [url=http://tinyurl.com/75gc58b]Itza[/url] - Review: [url=http://tinyurl.com/ctdz422]Itza Update[/url]

    Monday, October 15, 2012 4:06 PM

Answers

All replies