We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a194fa + 82a7776 commit 45b4382Copy full SHA for 45b4382
README.rst
@@ -177,6 +177,19 @@ The original proposal, as far as I know:
177
- `JSONPath - XPath for
178
JSON <http://goessner.net/articles/JSONPath/>`__ by Stefan Goessner.
179
180
+Other examples
181
+--------------
182
+
183
+Loading json data from file
184
185
+.. code:: python
186
187
+ import json
188
+ d = json.loads('{"foo": [{"baz": 1}, {"baz": 2}]}')
189
+ # or
190
+ with open('myfile.json') as f:
191
+ d = json.load(f)
192
193
Special note about PLY and docstrings
194
-------------------------------------
195
0 commit comments