Stash Software API  2.0.0
Public Member Functions | Static Public Attributes | List of all members
sPythonUtils.serializerLib.SimpleJSON Class Reference

[ ABSTRACT CLASS ] - Simple JSON serialization class. More...

Inheritance diagram for sPythonUtils.serializerLib.SimpleJSON:

Public Member Functions

def toJSON (self)
 Serialize object to JSON. More...
 

Static Public Attributes

 SERIALIZE_SIMPLE_JSON_ATTR_LIST = None
 [ str ] - Attributes to be serialized. More...
 

Detailed Description

[ ABSTRACT CLASS ] - Simple JSON serialization class.

Member Function Documentation

◆ toJSON()

def sPythonUtils.serializerLib.SimpleJSON.toJSON (   self)

Serialize object to JSON.

Exceptions
AttributeError- If any attributes listed in SERIALIZE_SIMPLE_JSON_ATTR_LIST member is not found.
Returns
dict - Dict instance.

Member Data Documentation

◆ SERIALIZE_SIMPLE_JSON_ATTR_LIST

sPythonUtils.serializerLib.SimpleJSON.SERIALIZE_SIMPLE_JSON_ATTR_LIST = None
static

[ str ] - Attributes to be serialized.


The documentation for this class was generated from the following file: