1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-17 01:32:37 +02:00
This commit is contained in:
Kelly Brazil
2022-06-16 17:48:07 -07:00
parent 229bef5f82
commit 992120b861
2 changed files with 4 additions and 4 deletions

View File

@ -45,8 +45,8 @@ $ jc dig example.com | jq -r '.[].answer[].data'
```
The `jc` parsers can also be used as python modules. In this case the output
will be a python dictionary, or list of dictionaries, or even a [lazy
iterable of dicionaries](#using-streaming-parsers-as-python-modules) instead
will be a python dictionary, list of dictionaries, or even a [lazy
iterable of dictionaries](#using-streaming-parsers-as-python-modules) instead
of JSON:
```python
>>> import subprocess

View File

@ -45,8 +45,8 @@ $ jc dig example.com | jq -r '.[].answer[].data'
```
The `jc` parsers can also be used as python modules. In this case the output
will be a python dictionary, or list of dictionaries, or even a [lazy
iterable of dicionaries](#using-streaming-parsers-as-python-modules) instead
will be a python dictionary, list of dictionaries, or even a [lazy
iterable of dictionaries](#using-streaming-parsers-as-python-modules) instead
of JSON:
```python
>>> import subprocess