Skip to content
Devlar

Resources

Official specifications and documentation, each with a short note on what it covers and when to use it.

JSON and CSV

Specifications and references for JSON and CSV data.

  • RFC 8259: The JavaScript Object Notation (JSON) Data Interchange Format

    IETF · www.rfc-editor.org

    The official JSON standard. It defines exactly what valid JSON looks like, which characters in a string must be escaped, and where whitespace is allowed.

  • ECMA-404: The JSON Data Interchange Syntax

    Ecma International · ecma-international.org

    The other official definition of JSON. It covers only the syntax, the rules for how the text is written, in a short document.

  • MDN: JSON.parse()

    MDN Web Docs · developer.mozilla.org

    How JavaScript reads JSON text back into a value, and the SyntaxError it throws when the text is not valid JSON.

  • MDN: JSON.stringify()

    MDN Web Docs · developer.mozilla.org

    How JavaScript turns a value into JSON text. Its space argument controls indentation, which is the difference between minified and pretty-printed JSON.

  • MDN: Content-Encoding (HTTP header)

    MDN Web Docs · developer.mozilla.org

    The HTTP header that says how a response was compressed, such as gzip, br for Brotli or zstd for Zstandard. Look for it to check whether your JSON was compressed.

JSON Web Tokens

Specifications and references for JWTs and the standards they build on.

  • RFC 7519: JSON Web Token (JWT)

    IETF · www.rfc-editor.org

    The JWT standard. It defines the registered claims, including exp, nbf and iat, and NumericDate, the seconds since 1970 format their times use.

  • RFC 7515: JSON Web Signature (JWS)

    IETF · www.rfc-editor.org

    The JSON Web Signature standard. It defines the three part header.payload.signature form of a signed JWT and the Base64url encoding of each part.