module documentation
Support for JSON.
| Class | |
Undocumented |
| Class | |
Undocumented |
| Function | |
Undocumented |
| Constant | EXTENSIONS |
Undocumented |
| Constant | SUBCOMMANDS |
Undocumented |
| Function | _json |
Wrap json.loads so that on failure it tries parsing as JSON Lines. |
@NTTError_from.register
@docstring_for_NTTError_from
def NTTError_from_JSONDecodeError(exc: @docstring_for_NTTError_from
JSONDecodeError) -> NTTError:
(source)
¶
Undocumented
Undocumented
| Value |
|
Wrap json.loads so that on failure it tries parsing as JSON Lines.
# noqa: DAR401 # noqa: DAR402
| Parameters | |
content:str | JSON or JSON Lines content. |
| Returns | |
JSONData | Parsed JSON data as a JSON-supported type, usually dict or list. |
| Raises | |
JSONDecodeError | Unable to parse content as JSON or JSONLines. |