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

doc update

This commit is contained in:
Kelly Brazil
2022-10-25 15:50:45 -07:00
parent 004fd74748
commit 6a5251f0ef
2 changed files with 4 additions and 2 deletions

View File

@ -82,7 +82,9 @@ Examples:
### parse
```python
def parse(data, raw=False, quiet=False)
def parse(data: Union[str, bytes],
raw: bool = False,
quiet: bool = False) -> List[JSONDictType]
```
Main text parsing function

View File

@ -183,7 +183,7 @@ Returns:
### input\_type\_check
```python
def input_type_check(data: str) -> None
def input_type_check(data: object) -> None
```
Ensure input data is a string. Raises `TypeError` if not.