json_path 0.0.0+dev.6 json_path: ^0.0.0+dev.6 copied to clipboard
JSONPath for Dart. JSONPath is XPath for JSON. It is a path in a JSON document.
JSONPath for Dart #
Warning! This is a work-in-progress. Expect the API to change often. Also, feel free to join.
Roadmap #
- ✅ Basic selectors: fields, indices
- ✅ Recursive descent (
$..
) - ✅ Wildcard (
$.store.*
) - ✅ Square-bracket field notation (
['foo']
,$['"some" \'special\' [chars]']
) - ✅ Slice (
articles[1:10:2]
) - ✅ Union (
book[0, 1]
,book[author, title, price]
) - ❌ Basic filtering (
book[?(@.price)]
) - ❌ Expressions (
book[?(@.price * @.discount < 10)]
)