1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

add streaming parsers link

This commit is contained in:
Kelly Brazil
2022-06-16 07:48:44 -07:00
parent 6adfa15742
commit 95189e37ba
2 changed files with 4 additions and 2 deletions

View File

@ -45,7 +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, instead of JSON:
will be a python dictionary, or list of dictionaries, or even a [lazy
iterable of dicionaries](#Streaming Parsers) instead of JSON:
```python
>>> import subprocess
>>> import jc

View File

@ -45,7 +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, instead of JSON:
will be a python dictionary, or list of dictionaries, or even a [lazy
iterable of dicionaries](#Streaming Parsers) instead of JSON:
```python
>>> import subprocess
>>> import jc