JSON (JavaScript Object Notation) is a lightweight data-interchange
format. JSON is a text format that is completely
language independent but uses conventions that are familiar to programmers of
the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python,
and many others (http://www.json.org/)
How to get those data and deserialize them into our object data ?
You can check out the following C# code :
Please note that Track object properties should be configured as same as the JSON return value. As such, before create the object data, you must generate c# classes from JSON. You may use jsonTocsharp by simply entering the JSON, and klik generate, you will get a bunch properties that should be put within your class/object.
For further knowledge about JSON, you can visit Mastering JSON
May it helps,
Thanks
No comments:
Post a Comment