Gadly

Mobile and tablet view is currently being improved. We are updating the layout and it will be fully optimized soon.

JSON basics

How to write valid JSON and fix typical errors.

Valid JSON structure

{
  "name": "John",
  "age": 30,
  "active": true
}
  • Keys must be in double quotes.
  • No trailing commas after the last item.
  • Only these value types: string, number, boolean, null, object, array.

Typical errors

Most errors come from missing quotes, commas, or using single quotes instead of double quotes.