public abstract class CIMObject
extends java.lang.Object
| Constructor and Description |
|---|
CIMObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMObject |
fromJSON(java.lang.String json)
Reconstructs the CIMObject with a specified state from a JSON encoding.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
abstract java.lang.String |
toJSON()
Creates a JSON encoding of the CIMObject and its current state.
|
public static CIMObject fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic abstract java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
CIMJSONExceptionpublic void serialize(JSONObject jsonObject)