> For the complete documentation index, see [llms.txt](https://pyot.iann838.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pyot.iann838.com/utils/safejson.md).

# Safejson

Module: `pyot.utils.safejson`

### *function* `load` -> `Any`

* `fp`: `Union[_io.FileIO, _io.BytesIO]`
* `kwargs`: `None`

> Same as json.load with graceful fallback by returning the read content as is

### *function* `loads` -> `Any`

* `content`: `Union[str, bytes]`
* `kwargs`: `None`

> Same as json.loads with graceful fallback by returning the passed content as is
