Expand description
SON (Seq Object Notation) Serialization
Serializes Seq Values to SON format - a prefix/postfix notation compatible with Seq syntax. SON values can be evaluated in Seq to recreate the original data.
§Format Examples
- Int:
42 - Float:
3.14 - Bool:
true/false - String:
"hello"(with proper escaping) - Symbol:
:my-symbol - List:
list-of 1 lv 2 lv 3 lv - Map:
map-of "key" "value" kv - Variant:
:Tag field1 field2 wrap-2
Structs§
- SonConfig
- Configuration for SON output formatting
Functions§
- patch_
seq_ ⚠son_ dump - son.dump: Serialize top of stack to SON string (compact) Stack effect: ( Value – String )
- patch_
seq_ ⚠son_ dump_ pretty - son.dump-pretty: Serialize top of stack to SON string (pretty-printed) Stack effect: ( Value – String )
- value_
to_ son - Format a Value to SON string