Data formats
JSON text-sequence encoder
Frame JSON records with RS and LF bytes for an RFC 7464 stream.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Serialize each array item as compact JSON, prefix it with record separator 1E hex and append LF 0A hex.
Records 1 and true become RS + 1 + LF, then RS + true + LF: 9 UTF-8 bytes.
Limits
The outer array is an input container, not a record. Empty arrays produce an empty stream. JSON numbers must be finite and use JavaScript precision; no binary data or NDJSON framing.