mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-21 00:19:42 +02:00
update docstring
This commit is contained in:
@ -2,11 +2,13 @@
|
|||||||
|
|
||||||
> This streaming parser outputs JSON Lines
|
> This streaming parser outputs JSON Lines
|
||||||
|
|
||||||
<<Short stat description and caveats>>
|
The `xxx_epoch` calculated timestamp fields are naive (i.e. based on the local time of the system the parser is run on)
|
||||||
|
|
||||||
|
The `xxx_epoch_utc` calculated timestamp fields are timezone-aware and are only available if the timezone field is UTC.
|
||||||
|
|
||||||
Usage (cli):
|
Usage (cli):
|
||||||
|
|
||||||
$ stat | jc --stat-s
|
$ stat * | jc --stat-s
|
||||||
|
|
||||||
Usage (module):
|
Usage (module):
|
||||||
|
|
||||||
@ -203,8 +205,8 @@ def parse(data, raw=False, quiet=False, ignore_exceptions=False):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# line #5
|
# line #5
|
||||||
|
# not implemented
|
||||||
if line.startswith('Context: '):
|
if line.startswith('Context: '):
|
||||||
# ignore this line
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# line #6
|
# line #6
|
||||||
|
Reference in New Issue
Block a user