📦

JSON Reference

JavaScript Object Notation is a lightweight data-interchange format. Essential syntax and code samples for professional development.

Object

{ "id": 1, "active": true }

Array

["Apple", "Orange", "Banana"]

Nested

{"user": {"name": "Dev"}}

Null

{"metadata": null}

Mix

{ "tags": [1, "web"] }

Stringify

JSON.stringify(obj); JSON.parse(str);