mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-08 22:36:48 +02:00
formatting
This commit is contained in:
@@ -34,7 +34,7 @@ You can also use the lower-level parser modules directly:
|
|||||||
>>> import jc.parsers.date
|
>>> import jc.parsers.date
|
||||||
>>> jc.parsers.date.parse('Tue Jan 18 10:23:07 PST 2022')
|
>>> 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
|
this higher-level API is recommended. Here is how you can access plugin
|
||||||
parsers without this API:
|
parsers without this API:
|
||||||
|
|
||||||
@@ -49,13 +49,14 @@ parsers without this API:
|
|||||||
|
|
||||||
Parameters:
|
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
|
iterator) parsers, iterator of strings for
|
||||||
streaming parsers)
|
streaming parsers)
|
||||||
|
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
|
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
|
|
||||||
ignore_exceptions: (boolean) ignore parsing exceptions if True
|
ignore_exceptions: (boolean) ignore parsing exceptions if True
|
||||||
|
@@ -152,7 +152,7 @@ def parse(parser_mod_name, data,
|
|||||||
>>> import jc.parsers.date
|
>>> import jc.parsers.date
|
||||||
>>> jc.parsers.date.parse('Tue Jan 18 10:23:07 PST 2022')
|
>>> 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
|
this higher-level API is recommended. Here is how you can access plugin
|
||||||
parsers without this API:
|
parsers without this API:
|
||||||
|
|
||||||
@@ -167,13 +167,14 @@ def parse(parser_mod_name, data,
|
|||||||
|
|
||||||
Parameters:
|
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
|
iterator) parsers, iterator of strings for
|
||||||
streaming parsers)
|
streaming parsers)
|
||||||
|
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
|
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
|
|
||||||
ignore_exceptions: (boolean) ignore parsing exceptions if True
|
ignore_exceptions: (boolean) ignore parsing exceptions if True
|
||||||
|
Reference in New Issue
Block a user