iqm.iqm_client.util.to_json_dict

Contents

iqm.iqm_client.util.to_json_dict#

iqm.iqm_client.util.to_json_dict(obj: dict[str, Any]) dict#

Convert a dict to JSON serializable dict

Parameters:

obj (dict[str, Any]) – dict to convert

Returns:

dict containing converted data

Raises:

ValueError if the original dict contains unsupported datatypes

Return type:

dict