Array encoding for TOON format.
Handles encoding of vectors with support for:
Array encoding for TOON format.
Handles encoding of vectors with support for:
- Inline primitive arrays (key[N]: val1,val2,val3)
- Tabular arrays of objects (key[N]{col1,col2}: ...)
- Nested arrays of arraysObject (map) encoding for TOON format.
Handles encoding of maps with:
Object (map) encoding for TOON format. Handles encoding of maps with: - Simple key-value pairs - Nested objects with indentation - Arrays as values - Key collapsing for nested single-key objects
Key manipulation utilities for TOON encoding.
Provides functions to collapse nested single-key objects into dotted paths.
Key manipulation utilities for TOON encoding. Provides functions to collapse nested single-key objects into dotted paths.
Data normalization for TOON encoding.
Converts Clojure data structures to JSON-compatible values:
Data normalization for TOON encoding. Converts Clojure data structures to JSON-compatible values: - Keywords → strings - Symbols → strings - Sets → vectors - Maps with keyword keys → maps with string keys - UUIDs → strings - Dates/Instants → ISO-8601 strings - NaN/Infinity → nil - Functions/vars → nil
Primitive value encoding for TOON format.
Handles encoding of nil, booleans, numbers, and strings.
Primitive value encoding for TOON format. Handles encoding of nil, booleans, numbers, and strings.
Line writer for managing indented TOON output.
The LineWriter handles:
Line writer for managing indented TOON output. The LineWriter handles: - Indentation management (configurable spaces per level) - Line accumulation - Whitespace invariants (no trailing spaces or newlines)
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |