Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The appropriate JSON format for multiple objects is to enclose them within square brackets [ ]. Each object should be separated by a comma. For example:

[
  {
    "name": "John",
    "age": 30
  },
  {
    "name": "Mary",
    "age": 25
  },
  {
    "name": "Peter",
    "age": 40
  }
]

This is an array of three objects, each with a name and age property.