mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-13 01:20:24 +02:00
doc update
This commit is contained in:
@ -22,7 +22,7 @@ jc - JSON Convert lib module
|
||||
|
||||
```python
|
||||
def parse(parser_mod_name: str,
|
||||
data: Union[str, Iterable[str]],
|
||||
data: Union[str, bytes, Iterable[str]],
|
||||
quiet: bool = False,
|
||||
raw: bool = False,
|
||||
ignore_exceptions: bool = None,
|
||||
@ -67,9 +67,9 @@ Parameters:
|
||||
cli-name, and --argument-name
|
||||
variants of the module name.
|
||||
|
||||
data: (string or data to parse (string for normal
|
||||
iterable) parsers, iterable of strings for
|
||||
streaming parsers)
|
||||
data: (string or data to parse (string or bytes for
|
||||
bytes or standard parsers, iterable of
|
||||
iterable) strings for streaming parsers)
|
||||
|
||||
raw: (boolean) output preprocessed JSON if True
|
||||
|
||||
|
@ -64,7 +64,7 @@ Use `help(jc.lib)` for details.
|
||||
|
||||
parse(
|
||||
parser_module_name: str,
|
||||
data: str | Iterable
|
||||
data: str | bytes | Iterable
|
||||
) -> dict | list[dict] | Iterable[dict]
|
||||
|
||||
High-level API to easily access the parser. This API will find both
|
||||
|
@ -60,7 +60,7 @@ Use `help(jc.lib)` for details.
|
||||
|
||||
parse(
|
||||
parser_module_name: str,
|
||||
data: str | Iterable
|
||||
data: str | bytes | Iterable
|
||||
) -> dict | list[dict] | Iterable[dict]
|
||||
|
||||
High-level API to easily access the parser. This API will find both
|
||||
|
Reference in New Issue
Block a user