diff options
author | Kenn Knowles <kenn@kennknowles.com> | 2014-04-18 15:50:37 -0400 |
---|---|---|
committer | Kenn Knowles <kenn@kennknowles.com> | 2014-04-18 15:50:37 -0400 |
commit | 2bf8529f897fb88affc5bc2baaded055a68e50bd (patch) | |
tree | 107c1c5216f68b6ad3c5300fc5f9e7844b7f2a62 | |
parent | 87e2aee52ce673b6e9af80818258bc7226467af4 (diff) | |
parent | 36c32aa43ee777c2e05e69d796465e04822ffa0c (diff) | |
download | jsonpath-rw-2bf8529f897fb88affc5bc2baaded055a68e50bd.tar.gz |
Merge pull request #15 from nchammas/master
Fixed quick start example of expression building.
-rw-r--r-- | README.rst | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -52,6 +52,9 @@ Then: ['number two', 'number one'] # You can also build expressions directly quite easily + >>> from jsonpath_rw.jsonpath import Fields + >>> from jsonpath_rw.jsonpath import Slice + >>> jsonpath_expr_direct = Fields('foo').child(Slice('*')).child(Fields('baz')) # This is equivalent JSONPath Syntax |