Skip to main content

Module json

Module json 

Source
Expand description

Service payloads are JSON on the CBOR wire. Both directions are total: a CBOR value JSON cannot hold reads as JSON.stringify writes the decoded JavaScript value (a byte string or a non-finite float is null, an integral float below 2^53 an integer, -0 is 0).

Functionsยง

to_cbor
to_json