restapi.rest.response.ExtendedJSONEncoder.load

ExtendedJSONEncoder.load(fp, **kwargs)

Deserialize data as JSON read from a file.

Parameters:
  • fp (IO[AnyStr]) – A file opened for reading text or UTF-8 bytes.

  • kwargs (Any) – May be passed to the underlying JSON library.

Return type:

Any