API Reference › Json
namespace

Json

The text bridge over the Value tree: Json.encode turns a value tree into compact, stable JSON text and Json.parse reads it back. Together with Reflect.serialize/Reflect.apply this is a one-call, bit-exact save/load for entities, and a diffable on-disk format for tooling. Determinism holds: the same tree always encodes to the same bytes.

Json.encode(value) -> stringSerialize a value tree to compact JSON text.Json.parse(text: string) -> valueParse JSON text into a value tree.
← All symbols