(root)/Notes/Notes/notes/json.md RSS

JSON

a simple data interchange format

see yaml

resource RFC 8259, The JavaScript Object Notation (JSON) Data Interchange Format --- https://www.rfc-editor.org/rfc/rfc8259.html

resource Parsing JSON is a Minefield by Nicolas Seriot, on the subtleties of parsing json --- ../references/Parsing JSON is a Minefield.html --- https://seriot.ch/projects/parsing_json.html

resource jsonw, my tiny RFC 8259-compliant, allocation-free json parser for c --- https://github.com/Bricktech2000/JSONW

json is not a sub‹set of javascript because the unicode characters U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR can appear in json string literals but not in javascript string literals --- https://seriot.ch/projects/parsing_json.html