gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

SerializableObjectJson

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