Tags: , , | Posted by AlexanderZeitler on 11/15/2011 3:11 PM | Comments (0)

With WCF Web API there has been introduced some new stuff called JsonValue and JsonArray.

If you want to POST some JSON to your Web API method like this without having some corresponding .NET objects on the server side:

You can easily parse it using JsonValue and JsonArray:

Or the "prettified" version:
Comments are closed