Contents tagged with JSON

  • Deserialize JSON response into a Dynamic Object

    Here I will discuss the approach I included in my APIMASH Starter Kit to deserialize a JSON response into a dynamic object.


    Before going into specifics of how I use dynamic objects in my APIMASH Starter Kit, let me provide some background information.  When you compile your code, the compiler checks if there’s an existing type defining the methods and properties of your objects, if this check fails, you will get a compilation error. In contrast, when you use dynamic …