A general purpose notation for data interchange.
Builtins are a curated set of extensions for universal or common data types. Compliant fin libraries support builtins out of the box.
Self-explanatory. The symbols true
or false
fin:bytes
as the extension symbol.# inline escaped strings
b1 = fin:bytes["d14a028c2a3a2bc9"]
b2 = fin:bytes[
# concatenation
"d14a028c2a3a2bc9", "476102bb288234c4"
"15a2b01f828ea62a", "c5b3e42f"
]
# expanded raw strings
b3 = fin:bytes[
# spaced octets, auto-wrapped using first line
| d1 4a 02 8c 2a 3a 2b c9
| 47 61 02 bb 28 82 34 c4
# reset auto wrap
| 15 a2 b0 1f
| 82 8e a6 2a
| c5 b3 e4 2f
]
fin:timestamp
as the extension symbol.fin:timestamp["2024-02-26T03:01:13.644Z"]