ElementSerialiser¶
- class fuse.serialisation.ElementSerialiser¶
Bases:
objectThis class provides encoding and decoding to json for objects in the fuse language.
Methods¶
- encode: obj: fuse class
converts object to a json representation
- decode: obj_str: String
converts json string to obj
- __init__()¶
Methods
__init__()decode(obj_str)decode_traverse(obj, obj_dict)encode(obj)encode_traverse(obj[, path])get_id(obj)store_obj(obj, name, obj_id, obj_dict, path)