Repository navigation
v0.2.0 – Comments, EncodeOptions & Better Errors
Added
EncodeOptionsfor configurable indentation and optional trailing newline inToon::encode().- Comment support in decoder (
#and//, both full-line and inline). - Improved
DecodeExceptionmessages with line numbers and offending lines.
Notes
This should be backwards compatible with existing usage:
Toon::encode($data)still behaves the same.- New features are opt-in via
EncodeOptions.