JSON Pretty Print Viewer

Spread the love

{{ errors[0] }}

JSON Syntax Rules

JSON syntax is similar to JavaScript object literal syntax. They include:

  • Data is in name/value pairs
  • Data is separated by commas
  • Curly braces hold objects
  • Square brackets hold arrays

Values must be one of the following data types:

  • string
  • number
  • object (JSON object)
  • array
  • boolean
  • null