Skip to content

Releases: Anteru/sjson

2.1.0

27 Feb 08:19
Compare
Choose a tag to compare
  • Add support for Python-style raw strings, delimited by """.
  • Improve handling of unknown string escapes. Previously, those would raise an exception, now they get passed through.

2.0.1

27 Feb 08:19
Compare
Choose a tag to compare
  • Add dump in addition to dumps for consistency with the Python JSON module.
  • Additional PEP8 conformance tweaks.

2.0.0

27 Feb 08:20
Compare
Choose a tag to compare
  • The library is now PEP8 compliant. This should not affect most users of this library, the only user-visible change is that ParseException.GetLocation has been renamed to get_location. The core functions have not been renamed and are API compatible.

1.2.0

27 Feb 08:20
Compare
Choose a tag to compare
  • Keys did not get quoted properly during encoding if they contained special characters.
  • List elements were incorrectly indented.
  • List indentation now accepts either a string or a number (similar to the Python JSON module.)
  • Both : and = are now supported as key-value separators, allowing the SJSON library to parse plain JSON files.

1.1.1

27 Feb 08:20
Compare
Choose a tag to compare
  • Add support for C/C++ style comments.
  • Line/column numbers start at 1 now (previously, the first character was in line 0, column 0).

1.1.0

27 Feb 08:21
Compare
Choose a tag to compare
  • Parsing performance has been significantly improved.
  • It is possible to parse a file-like stream or string now.