Status: Descriptive - Final
DAG-JSON supports the full IPLD Data Model.
All simple types except binary are supported natively by JSON.
Contrary to popular belief, JSON as a format supports Big Integers. It's only
JavaScript itself that has trouble with them. This means JS implementations
of dag-json
can't use the native JSON parser and serializer.
{"/": { "base64": String }}
{"/": String /* base encoded CID */}