restapi.rest.response.ExtendedJSONEncoder.dumps

ExtendedJSONEncoder.dumps(obj, **kwargs)[source]

Serialize data as JSON.

Parameters:
  • obj (Any) – The data to serialize.

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

Return type:

str