Skip to content

Commit 6ce5495

Browse files
committed
Prepare for release of version 0.9.0.
1 parent 65d0ba8 commit 6ce5495

File tree

3 files changed

+12
-24
lines changed

3 files changed

+12
-24
lines changed

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python JSONPath Change Log
22

3-
## Version 0.9.0 (unreleased)
3+
## Version 0.9.0
44

55
**Breaking Changes**
66

@@ -13,12 +13,12 @@
1313

1414
**Features**
1515

16-
- Added a command line interface, exposing JSONPath, JSON Pointer and JSON Patch features.
17-
- Added `JSONPointer.parent()`, a method that returns the parent of the pointer, as a new `JSONPointer`.
18-
- Implemented `JSONPointer.__truediv__()` to allow creation of child pointers from an existing pointer using the slash (`/`) operator.
19-
- Added `JSONPointer.join()`, a method for creating child pointers. This is equivalent to using the slash (`/`) operator for each argument given to `join()`.
20-
- Added `JSONPointer.exists()`, a method that returns `True` if a the pointer can be resolved against some data, or `False` otherwise.
21-
- Added the `RelativeJSONPointer` class for building new `JSONPointer` instances from Relative JSON Pointer syntax.
16+
- Added a command line interface, exposing JSONPath, JSON Pointer and JSON Patch features ([docs](https://jg-rp.github.io/python-jsonpath/cli/), [source](https://github.com/jg-rp/python-jsonpath/blob/main/jsonpath/cli.py)).
17+
- Added `JSONPointer.parent()`, a method that returns the parent of the pointer, as a new `JSONPointer` ([docs](https://jg-rp.github.io/python-jsonpath/pointers/#parent)).
18+
- Implemented `JSONPointer.__truediv__()` to allow creation of child pointers from an existing pointer using the slash (`/`) operator ([docs](https://jg-rp.github.io/python-jsonpath/pointers/#slash-operator)).
19+
- Added `JSONPointer.join()`, a method for creating child pointers. This is equivalent to using the slash (`/`) operator for each argument given to `join()` ([docs](https://jg-rp.github.io/python-jsonpath/pointers/#joinparts)).
20+
- Added `JSONPointer.exists()`, a method that returns `True` if a the pointer can be resolved against some data, or `False` otherwise ([docs](https://jg-rp.github.io/python-jsonpath/pointers/#existsdata)).
21+
- Added the `RelativeJSONPointer` class for building new `JSONPointer` instances from Relative JSON Pointer syntax ([docs](https://jg-rp.github.io/python-jsonpath/pointers/#torel), [API](https://jg-rp.github.io/python-jsonpath/api/#jsonpath.RelativeJSONPointer)).
2222
- Added support for a non-standard index/property pointer using `#<property or index>`. This is to support Relative JSON Pointer's use of hash (`#`) when building `JSONPointer` instances from relative JSON Pointers.
2323
- Added the `unicode_escape` argument to `JSONPathEnvironment`. When `True` (the default), UTF-16 escaped sequences found in JSONPath string literals will be decoded.
2424

README.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,10 @@ import jsonpath
6767

6868
data = {
6969
"users": [
70-
{
71-
"name": "Sue",
72-
"score": 100,
73-
},
74-
{
75-
"name": "John",
76-
"score": 86,
77-
},
78-
{
79-
"name": "Sally",
80-
"score": 84,
81-
},
82-
{
83-
"name": "Jane",
84-
"score": 55,
85-
},
70+
{"name": "Sue", "score": 100},
71+
{"name": "John", "score": 86},
72+
{"name": "Sally", "score": 84},
73+
{"name": "Jane", "score": 55},
8674
]
8775
}
8876

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Quick Start
22

3-
This page gets you started using JSONPath, JSON Pointer and JSON Patch wih Python, see [JSONPath Syntax](syntax.md) for information on JSONPath selector syntax.
3+
This page gets you started using JSONPath, JSON Pointer and JSON Patch wih Python. See [JSONPath Syntax](syntax.md) for information on JSONPath selector syntax.
44

55
## `findall(path, data)`
66

0 commit comments

Comments
 (0)