Skip to content

Releases: sburba/strict-json

Release 3.2.4

15 Oct 20:15
Compare
Choose a tag to compare

Fix compat issue with php 7.1

Release 3.2.3

24 Sep 18:09
Compare
Choose a tag to compare

Fix wording in missing parameter array adapter error message

Release 3.2.1

17 Sep 14:52
Compare
Choose a tag to compare

Fixed a bug that could cause StrictJson to throw a TypeError instead of JsonFormat exception when a JSON field is expected to be an array but is actually an object.

Release 3.2.0

03 Sep 19:27
Compare
Choose a tag to compare

Add mapDecodedToArray method that maps decoded json to an array of items of a specified type

Release 3.1.0

12 Jul 15:48
Compare
Choose a tag to compare

Add the ability to register adapters for php primitive types. See docs for more info

Release 3.0.3

08 Jul 17:29
Compare
Choose a tag to compare

Small bugfix in php platform version

Release 3.0.2

02 Jul 18:47
Compare
Choose a tag to compare

Fix crash when running with php notices on

Release 3.0.1

05 Jun 01:11
Compare
Choose a tag to compare

Improved documentation

More types specified in APIs

Version 3.0.0

25 Apr 22:45
7304c5e
Compare
Choose a tag to compare
  • 2x faster for large lists!

Breaking Changes

  • If you were using the parameter_adapters parameter in the StrictJson constructor, you'll have to migrate to using
    StrictJson::builder()
  • JsonContext has been renamed to JsonPath

Version 2.0.1

17 Apr 23:48
adc7e5f
Compare
Choose a tag to compare

Improve error message for validation exceptions in constructors