Version 0.3.0
IETF JSONPath Draft compliance
- Added support for function extensions.
- Added the built-in
length()function. - Added the built-in
count()function.count()is an alias forlength(). - Support filters without parentheses.
- Adhere to IETF JSONPath draft escaping in quoted property selectors.
- Handle UTF-16 surrogate pairs in quoted property selectors.
Features
- Added the built-in
keys()function. - Added
parentandchildrenproperties toJSONPathMatch. Now we can traverse the "document tree" after finding matches. - Added a
partsproperty toJSONPathMatch.partsis a tuple ofints,slices andstrs that can be used withJSONPathEnvironment.getitem()to get the matched object from the original data structure, or equivalent data structures. It is the keys, indices and slices that make up a concrete path.