from_java(d: Any, deep=True, remove_type_field=True, fallback_class_name: Optional[str] = None)¶
Decodes a dict coming from java recovering all objects in the way
d – The value to be decoded. If it is not a dict, it is returned as it is.
deep – If true, decode recursively
remove_type_field – If true the field called
PYTHON_CLASS_IDENTIFIERwill be removed if found.
fallback_class_name – If given, it is used as the fall-back type if ``PYTHON_CLASS_IDENTIFIER` is not in the dict.
If the object is not a dict or if it has no
PYTHON_CLASS_IDENTIFIERfield and no
fallback_class_nameis given, the input
dis returned as it is. It will not even be copied.