mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
formatting
This commit is contained in:
@ -44,10 +44,10 @@ $ jc dig example.com | jq -r '.[].answer[].data'
|
|||||||
93.184.216.34
|
93.184.216.34
|
||||||
```
|
```
|
||||||
|
|
||||||
The `jc` parsers can also be used as python modules. In this case the output
|
The `jc` can also be used as a python library. In this case the output will be
|
||||||
will be a python dictionary, list of dictionaries, or even a [lazy
|
a python dictionary, a list of dictionaries, or even a
|
||||||
iterable of dictionaries](#using-streaming-parsers-as-python-modules) instead
|
[lazy iterable of dictionaries](#using-streaming-parsers-as-python-modules)
|
||||||
of JSON:
|
instead of JSON:
|
||||||
```python
|
```python
|
||||||
>>> import subprocess
|
>>> import subprocess
|
||||||
>>> import jc
|
>>> import jc
|
||||||
|
@ -44,10 +44,10 @@ $ jc dig example.com | jq -r '.[].answer[].data'
|
|||||||
93.184.216.34
|
93.184.216.34
|
||||||
```
|
```
|
||||||
|
|
||||||
The `jc` parsers can also be used as python modules. In this case the output
|
The `jc` can also be used as a python library. In this case the output will be
|
||||||
will be a python dictionary, list of dictionaries, or even a [lazy
|
a python dictionary, a list of dictionaries, or even a
|
||||||
iterable of dictionaries](#using-streaming-parsers-as-python-modules) instead
|
[lazy iterable of dictionaries](#using-streaming-parsers-as-python-modules)
|
||||||
of JSON:
|
instead of JSON:
|
||||||
```python
|
```python
|
||||||
>>> import subprocess
|
>>> import subprocess
|
||||||
>>> import jc
|
>>> import jc
|
||||||
|
Reference in New Issue
Block a user