Releases: xp-forge/json
Releases · xp-forge/json
3.1.1: XP10 compatibility
- Made compatible with XP 10 - @thekid
3.1.0: Fix implicit close
- Fixed
Output::write()
not to call the underlying stream'sclose()
method implicitely, this is unexpected.
(@thekid)
3.0.2: List reading fix
3.0.1: Sequential output fix
3.0.0: XP9 Compatibiliy
2.3.1: Encoding detection fix
2.3.0: Parsing JSON is a Minefield
- Read Parsing JSON is a Minefield
and fixed various noncompliant behaviors:- Support for UTF-16 without BOM
- Raise errors for unexpected delimiters in arrays or objects
- Be stricter than
is_numeric()
when parsing numbers - Raise errors when encountering malformed or unclosed escape sequences
- Implement a maximum nesting level for arrays and objects, default 512
(@thekid)
2.2.0: XP8 compatiblity
- Added forward compatibility with XP 8.0.0: Use File::in() instead of
the deprecated getInputStream()
(@thekid)
2.1.1: Keys fix
2.1.0: Traversable support
- Merged PR #7: Add support for all traversables to
Json::write()
(@thekid) - Merged PR #8: Add reset() operation. Enable calling the
elements()
,
pairs()
andread()
methids again after explicitly resetting the
stream. This operation may raise an exception if the input is not
seekable, e.g. if the underlying stream is socket I/O.
(@thekid)