U šŠËYZã@sGdd„deƒZdS)c@s$eZdZdZedd„ƒZdd„ZdS)Ú JSONObjectzYInterface class Classes deriving from this class can be stored as JSON objects. cCs tƒ‚dS)a¢Abstract method This method must be implemented by the deriving classes. It must return an object of type cls, created from the parameters defined in dictionary. The type of cls is the type of the class the method is called on. :param dict dictionary: A Python dict with all parameters needed for creating an object of type cls :return: An instance of cls :rtype: cls N©ÚNotImplementedError)ÚclsÚ dictionary©rú@/tmp/pip-target-hkr6o2s8/lib/python/jsonconversion/jsonobject.pyÚ from_dicts zJSONObject.from_dictcCs tƒ‚dS)aAbstract method This method must be implemented by the deriving classes. It must return a Python dict with all parameters of self, which are needed to create a copy of self. :return: A Python dict with all needed parameters of self :rtype: dict Nr)ÚselfrrrÚto_dicts zJSONObject.to_dictN)Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú classmethodrr rrrrr s rN)ÚobjectrrrrrÚ ó