@@ -5,10 +5,9 @@ https://github.com/kennknowles/python-jsonpath-rw
5
5
6
6
[ ![ Build Status] ( https://travis-ci.org/kennknowles/python-jsonpath-rw.png )] ( https://travis-ci.org/kennknowles/python-jsonpath-rw )
7
7
8
- This package provides a robust implementation of JSONPath with read and
9
- update capability as well as additional operators, described below.
8
+ This library provides a robust and significantly extended implementation of JSONPath for Python.
10
9
11
- This package differs from other JSONPath implementations in that it
10
+ This library differs from other JSONPath implementations in that it
12
11
is a full _ language_ implementation, meaning the JSONPath expressions
13
12
are first class objects, easy to analyze, transform, parse, print,
14
13
and extend. (You can also execute them :-)
@@ -83,13 +82,13 @@ and here are some examples:
83
82
Extensions
84
83
----------
85
84
86
- - _ Path data_ : The result of ` JsonPath.find ` are of the type ` DatumAtPath ` , which
87
- provides a ` value ` field for the matched data, but also a ` path ` field for where
88
- it was found. This object proxies all other attributes to act "like" the ` value `
89
- field, so lightweight usage is still easy.
85
+ - _ Path data_ : The result of ` JsonPath.find ` provide detailed context and path
86
+ data so it is easy to traverse to parent objects, print full paths to pieces
87
+ of data, and generate automatic ids.
90
88
- _ Automatic Ids_ : If you set ` jsonpath_rw.auto_id_field ` to a value other than
91
89
None, then for any piece of data missing that field, it will be replaced by
92
- the JSONPath to it, giving automatic unique ids to any piece of data.
90
+ the JSONPath to it, giving automatic unique ids to any piece of data. These ids will
91
+ take into account any ids already present as well.
93
92
94
93
95
94
More to explore
0 commit comments