NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1519 most downloaded on Packagist
JSONPath implementation for querying and updating JSON objects
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 2.7 years
Most releases are documented
notes for 12 of 16 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
16 releases · first in 2015
revert .length behavior to avoid breaking changes in same major version
Merge pull request #4 from Skyscanner/length_re_wrong
Merge pull request #4 from Skyscanner/length_re_wrong
Bug fix in `.length` regex. Minor code cleanup.
One column per quarter.
Documentation now properly defines what a variable name is.
Bug fix when accessing an array with a negative index. It now behaves as expected.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The recursive operation now works slightly different (see 5ac1783 )
false. The only exception being when using smart get and a non-divergent path, where false will still be returned.$..[?(@.author == "Nigel Rees")]$.2Allow filter keys with a regex match
i and x modifiers in regex expressions
(https://github.com/Galbar/JsonPath-PHP/pull/59)Until now (except for version 1.3 , sorry, you should go to 1.3.1 if this affects you) .length operator always behaved in the smartGet manner.
Until now (except for version 1.3, sorry, you should go to 1.3.1 if this affects you) .length operator always behaved in the smartGet manner.
Starting with this version, .length will behave as any other operator. That is, it will always return an array of results, even if there is just one, unless smartGet is enabled, then it'll work in the same way smartGet works for every other operation: return the result directly, if the path does not diverge, or return an array of results, if the path diverges.
Also, fix regex so that array interval selector of the type [:3] work.
Expose internal language parsing and querying functions as part of the public API
Add ! as synonym of not Add && as synonym of and Add || as synonym of or
! as synonym of not&& as synonym of and|| as synonym of or! as synonym of not&& as synonym of and|| as synonym of orDrop support for PHP 5.4 and 5.5
Adding json_encode options bitmask
Allows minus character within property name (by jaimelopez)
Your coding agent can read these notes before it upgrades. Set up the MCP server →