Skip to content

Releases: xp-forge/json

3.1.1: XP10 compatibility

01 Dec 14:32
Compare
Choose a tag to compare
  • Made compatible with XP 10 - @thekid

3.1.0: Fix implicit close

01 Feb 21:46
Compare
Choose a tag to compare
  • Fixed Output::write() not to call the underlying stream's close()
    method implicitely, this is unexpected.
    (@thekid)

3.0.2: List reading fix

19 Aug 13:44
Compare
Choose a tag to compare
  • Fixed issue #12: Error reading lists ending with 0 - @thekid

3.0.1: Sequential output fix

29 Jun 20:36
Compare
Choose a tag to compare
  • Fixed issue #11: Sequential output and empty arrays/objects - @thekid

3.0.0: XP9 Compatibiliy

04 Jun 09:53
Compare
Choose a tag to compare
  • Heads up: Dropped PHP 5.5 support - @thekid
  • Added forward compatibility with XP 9.0.0 - @thekid

2.3.1: Encoding detection fix

30 Oct 23:42
Compare
Choose a tag to compare
  • Fixed detection for UTF-16 (LE, BE) encoding - @thekid
  • Added maximum nesting level to all input sources - @thekid

2.3.0: Parsing JSON is a Minefield

29 Oct 15:22
Compare
Choose a tag to compare
  • 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

29 Aug 18:41
Compare
Choose a tag to compare
  • Added forward compatibility with XP 8.0.0: Use File::in() instead of
    the deprecated getInputStream()
    (@thekid)

2.1.1: Keys fix

24 Jun 15:50
Compare
Choose a tag to compare
  • Fixed issue #9: Integer keys produce invalid JSON - @thekid

2.1.0: Traversable support

29 May 17:30
Compare
Choose a tag to compare
  • Merged PR #7: Add support for all traversables to Json::write()
    (@thekid)
  • Merged PR #8: Add reset() operation. Enable calling the elements(),
    pairs() and read() 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)