Dom
object Dom
Simple Document Object Model (DOM) for CBOR.
Practically all valid CBOR encodings can be decoded into this structure and vice versa. Provided as an alternative to plain Writer-based encoding and Reader-based decoding.
Type members
Classlikes
- Companion:
- object
A Dom.Transformer encapsulates the ability for arbitrary DOM transformations. The default implementation applies a NOP transformation, i.e. returns an identical DOM structure.
A Dom.Transformer encapsulates the ability for arbitrary DOM transformations. The default implementation applies a NOP transformation, i.e. returns an identical DOM structure.
Override some or all methods to customize the transformation logic.
- Companion:
- object