Skip to main content

Module json

Module json 

Source
Expand description

Strict JSON (SPEC 6.1, I-JSON) and the RFC 8785 JSON Canonicalization Scheme (SPEC 6.2).

parse accepts exactly the texts SPEC 6.1 accepts and reports failures in the order it defines. Value::to_jcs writes the RFC 8785 serialisation, including ECMAScript number formatting, so it is a complete JCS even though Datumesh objects never contain JSON numbers.

Enums§

Value
A parsed JSON value. Object members keep their text order; names are unique.

Functions§

parse
Parses bytes as strict JSON (SPEC 6.1).