DAG-JSON
The JSON form of the same data model, used as the human-editable form in this repo.

dag-json: the JSON form of the same data model, used as the human-editable form in this repo. It writes links as {"/":"…"} and bytes as {"/":{"bytes":"…"}}. Those reserved-key objects are envelopes.

See also

    DAG-CBOR: the binary form that gets hashed and stored.

    Envelope: the / key spelling for links and bytes.

    Encoding: how the two forms relate.

    IPLD: the data model both forms encode.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime