sbmlsim.serialization
¶
Helpers for JSON serialization of experiments.
Module Contents¶
Classes¶
Class for encoding in JSON. |
Functions¶
|
Load data from JSON. |
|
Serialize to JSON. |
- sbmlsim.serialization.from_json(json_info)[source]¶
Load data from JSON.
- Parameters:
json_info (Union[str, pathlib.Path]) –
- Return type:
Dict[Any, Any]
- sbmlsim.serialization.to_json(object, path=None)[source]¶
Serialize to JSON.
- Parameters:
path (pathlib.Path) –
- Return type:
Union[str, pathlib.Path]
- class sbmlsim.serialization.ObjectJSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None)[source]¶
Bases:
json.JSONEncoder
Class for encoding in JSON.