Class Json5lSerializerSession

All Implemented Interfaces:
BeanSession, ConverterSession, ArrayRecordWritable, RecordWritable, TokenWritable

Session object that lives for the duration of a single use of Json5lSerializer.

Extends JsonlSerializerSession to inherit JSONL's line-delimited framing. When the owning Json5lSerializer has json5Sugar enabled, the per-line output switches to JSON5 sugar (single-quoted strings, unquoted field names where safe) on both the databind and token-streaming paths; otherwise the inherited strict RFC-8259 output is used unchanged.

Notes:
  • This class is not thread safe and is typically discarded after one use.
See Also: