What is JSON?

JSON (JavaScript Object Notation) is a lightweight data-interchange format. Unlike XML where complex schemas are required to structure data, with JSON you simply have an object that just contains the data with their field name. Here is an example of JSON:

     success: true,
     errors: [ ],
     message_id: 600969775,
     message: "SMS Successfully Queued",
     remainingCredits: 915

The same string in XML could look like this: