json_path_plus 1.0.0
json_path_plus: ^1.0.0 copied to clipboard
A Dart port of JSONPath-Plus — full-featured JSONPath query engine with filter expressions, type operators, slices, and safe evaluation. Zero dependencies.
1.0.0 #
- Initial release.
- Full-featured JSONPath query engine ported from JSONPath-Plus.
- Basic path syntax: dot notation, bracket notation, wildcards, recursive descent (
..). - Filter expressions with
@property,@parent,@root,@pathand comparison operators. - Type operators:
@string(),@number(),@boolean(),@integer(),@null(),@array(),@object(),@scalar(),@other(). ~property-name operator: returns the key name instead of value.^parent selector: returns the parent of the matched node.- Array slices: Python-style
[start:end:step]. - Dynamic properties:
[(1+2)]evaluates to index 3. - Comma-separated keys:
[0,1]selects multiple indices. - Backtick-escaped properties:
`0`for literal property lookup. - Multiple result types:
value,path,pointer,parent,parentProperty,all. - Safe expression evaluator with no
dart:mirrors, noeval(), no external dependencies. - Sound null safety (Dart 3.x).