1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

formatting

This commit is contained in:
Kelly Brazil
2022-06-16 17:51:20 -07:00
parent 992120b861
commit 9b710b0b6f
2 changed files with 8 additions and 8 deletions

View File

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

View File

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