hpcflow.sdk.core.json_like.BaseJSONLike#
- class hpcflow.sdk.core.json_like.BaseJSONLike#
Bases:
object
- Parameters:
_class_namespace (namespace) – Namespace whose attributes include the class definitions that might be referenced (and so require instantiation) in child objects.
_shared_data_namespace (namespace) – Namespace whose attributes include the shared data that might be referenced in child objects.
Methods
- classmethod from_json_like(json_like, shared_data=None)#
- Parameters:
json_like (Union[Dict, List]) –
shared_data (Optional[Dict[str, ObjectList]]) –
- to_dict()#
- to_json_like(dct=None, shared_data=None, exclude=None, path=None)#