1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-08 22:36:48 +02:00

formatting

This commit is contained in:
Kelly Brazil
2022-01-19 22:24:59 -08:00
parent b4575a3f78
commit 6962b9ee8a
2 changed files with 8 additions and 6 deletions

View File

@ -34,7 +34,7 @@ You can also use the lower-level parser modules directly:
>>> import jc.parsers.date
>>> jc.parsers.date.parse('Tue Jan 18 10:23:07 PST 2022')
Though, accessing plugin parsers directly is a bit more involved, so
Though, accessing plugin parsers directly is a bit more cumbersome, so
this higher-level API is recommended. Here is how you can access plugin
parsers without this API:
@ -49,13 +49,14 @@ parsers without this API:
Parameters:
parser_mod_name: (string) Name of the parser module
parser_mod_name: (string) name of the parser module
data: (string or Data to parse (string for normal
data: (string or data to parse (string for normal
iterator) parsers, iterator of strings for
streaming parsers)
raw: (boolean) output preprocessed JSON if True
quiet: (boolean) suppress warning messages if True
ignore_exceptions: (boolean) ignore parsing exceptions if True

View File

@ -152,7 +152,7 @@ def parse(parser_mod_name, data,
>>> import jc.parsers.date
>>> jc.parsers.date.parse('Tue Jan 18 10:23:07 PST 2022')
Though, accessing plugin parsers directly is a bit more involved, so
Though, accessing plugin parsers directly is a bit more cumbersome, so
this higher-level API is recommended. Here is how you can access plugin
parsers without this API:
@ -167,13 +167,14 @@ def parse(parser_mod_name, data,
Parameters:
parser_mod_name: (string) Name of the parser module
parser_mod_name: (string) name of the parser module
data: (string or Data to parse (string for normal
data: (string or data to parse (string for normal
iterator) parsers, iterator of strings for
streaming parsers)
raw: (boolean) output preprocessed JSON if True
quiet: (boolean) suppress warning messages if True
ignore_exceptions: (boolean) ignore parsing exceptions if True