jsonpath-rfc9535 is a Python library that provides a comprehensive and compliant implementation of JSONPath, as defined by RFC 9535. It allows users to query and manipulate JSON data structures using standard JSONPath expressions. The library is currently at version 1.0.0 and maintains an active development cadence with regular updates.
pip install jsonpath-rfc9535Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to import JSONPath, define a JSONPath expression, and use it to find matching nodes in a JSON document.
If you relied on `JSONPathNode.value` being immutable or read-only, be aware of this change. For v1.0.0+, explicitly copy the `node.value` if you need to modify it without affecting the source, or use the setter knowingly to update the source.
Always ensure you are using the latest stable version of `jsonpath-rfc9535` to benefit from parsing improvements and bug fixes, ensuring better RFC 9535 compliance and robustness.
When using `search()` or `match()`, always check for the `_LogicalFalse` return value if the pattern might be invalid. Ensure your regular expressions comply with I-Regexp as specified in RFC 9485.
No dependency data recorded yet.