pmutt.io.json.json_to_pmutt

pmutt.io.json.json_to_pmutt(json_obj)

Object hook to convert json to pmutt objects. Any complex object should be in the type_to_class_dict dictionary.

Parameters:

json_obj (Type supported by JSON) – JSON object to be converted to pmutt object. If this is a complex pmutt object, must have the ‘class’ entry in the dictionary.

Returns:

obj – Parsed pmutt object

Return type:

pmutt object