Class: Base

Base


new Base( [json])

Base prototype that all other classes in this library extend
Parameters:
Name Type Argument Description
json Object <optional>

Methods


init(json)

Initialize from JSON
Parameters:
Name Type Description
json Object
Returns:
this
Type
Base

<static> isInstance(obj)

Check whether the given object is an instance of this class.
Parameters:
Name Type Description
obj Object
Returns:
Type
Boolean

toJSON()

Export the object as JSON
Returns:
JSON object
Type
Object