JSON Input
About JSON
What is JSON?

JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy for humans to read and write, and easy for machines to parse and generate.

JSON Data Types
  • String: "Hello World"
  • Number: 42 or 3.14
  • Boolean: true or false
  • Null: null
  • Array: [1, 2, 3]
  • Object: {"key": "value"}
Common JSON Errors
  • Missing or extra commas
  • Unquoted keys (keys must be strings)
  • Single quotes instead of double quotes
  • Trailing commas after last element
  • Comments (JSON doesn't support comments)
Valid JSON Example
{
  "name": "John",
  "age": 30,
  "active": true,
  "tags": ["developer", "designer"]
}