1.7 KiB
1.7 KiB
Changelog
1.3
- Expose internal language parsing and querying functions as part of the public API
1.2
- Add
!as synonym ofnot - Add
&&as synonym ofand - Add
||as synonym ofor
1.1
- Drop support for PHP 5.4 and 5.5
- Add support for PHP 7.2 and 7.3
- Add utf-8 support (#33)
- Ability to use .length outside of [] (#28)
1.0
- Drop support for PHP 5.3
- Adding json_encode options bitmask (#7)
0.8
- Allows minus character within property name (by jaimelopez)
0.7.3
- Bug fix in
.lengthregex. - Minor code cleanup.
0.7.2
- Documentation now properly defines what a variable name is.
- Dependencies are now properly defined for older PHP versions.
0.7.1
- Bug fix when accessing an array with a negative index. It now behaves as expected.
0.7
- set now creates non-existent intermediate objects.
(p.e. if quering '$.a' results in false, when setting
'
.a.b' to a value '.a' will be created as a result of this).
0.6
- Added custom Exception classes:
InvalidJsonExceptionis thrown when an invalid values is given to the JsonObject constructor.InvalidJsonPathExceptionis thrown when an invalid JSONPath is given.
0.5
- Added getJsonObjects to get child JsonObjects that reference the original JsonObject contents. This is also affected by smartGet.
0.4
- Added support for json objects with fields with names that are not valid javascript variable names.
- Fixed error in smart get when accessing a list of names or list of indices and only one existed in the object.
0.3
- Added smart get
0.2
- Added errors when invalid json type is passed to construct
- Efficiency improvements
- All tokens are constants
0.1
- Basic JsonPath functionality