Library / Misc / Serialisation / DataKind
ENUM
DataKind
DataKind — the public kind of one node of a DataValue document, the kernel's
neutral, format-independent value model (the abstract shape shared by JSON,
BSON, CBOR, MessagePack, and DB rows): DataValue.kind(v) answers it. The
storage layer's own tag, DataNodeKind, is finer (three number kinds); this is
the shape a reader asks about. Promoted from the Json module's Kind so the
value model is a kernel citizen while wire formats stay in their modules
(Json maps DataValue ↔ text).
Cases 6
| Case | Description |
|---|---|
NULL_KIND | — |
BOOL_KIND | — |
NUMBER_KIND | — |
STRING_KIND | — |
ARRAY_KIND | — |
OBJECT_KIND | — |