Working with JSON Data

JSON (JavaScript Object Notation) is a simple, text-based data exchange format. JSON is human readable and contains just the minimum amount of text to describe the data.

RESTful web services generally are JSON-based, so it's important that we should be able to construct and parse JSON-formatted data.

There are a couple of classes that you can use to work with JSON data. You should pick one that is appropriate for your situation. We'll go through each one in detail over the next few sections.

Next: Using XPRIM_JsonObject and XPRIM_JsonArray