JSON/CheatSheet

From Wiki
Revision as of 15:14, 28 September 2024 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{
  "name": "User",
  "age": 21,
  "height": 1.83,
  "gender": "M",
  "children": [
    {"name": "Joe", "age": 4, "gender":"M"},
    {"name": "Jane", "age": 5, "gender":"F"}
  ],
  "cars": [ "golf", "van" ]
}


\" 	Double quote
\\ 	Backslash
\/ 	Forward slash
\b 	Backspace
\f 	Form feed
\n 	Newline
\r 	Carriage return
\t 	Tab
\u 	Trailed by four hex digits