Serializable and deserializable object. It must be serialized into a json object and deserialized from a json object.
Functions
serialize
Serialize the object into a json object. For SerializableRField, this method is called when the resource is saved.
Return type :
Union
deserialize @classmethod
Deserialize the object from a json object. For SerializableRField, this method is called when the RField is loaded.
data :
Union
json object generated by the serialize method
Return type :
SerializableObjectJson