![]() |
VR-Link C# API Documentation
|
Collaboration diagram for makVrl.JsonObject:Public Types | |
| enum | JsonType { JsonType.NONE, JsonType.OBJECT, JsonType.ARRAY, JsonType.INTEGER, JsonType.DOUBLE, JsonType.STRING, JsonType.BOOL, JsonType.NULL } |
Public Member Functions | |
| JsonObject (JsonType t=JsonType.NONE, Object val=null) | |
| JsonObject (String json) | |
| int | count () |
| bool | contains (String name) |
| String | generateString () |
Static Public Member Functions | |
| static JsonObject | loadFile (String path) |
| static | operator string (JsonObject j) |
| static | operator double (JsonObject j) |
| static | operator float (JsonObject j) |
| static | operator long (JsonObject j) |
| static | operator int (JsonObject j) |
| static | operator bool (JsonObject j) |
| static | operator Vector3f (JsonObject j) |
| static implicit | operator JsonObject (double d) |
| static implicit | operator JsonObject (float d) |
| static implicit | operator JsonObject (long d) |
| static implicit | operator JsonObject (int d) |
| static implicit | operator JsonObject (String d) |
| static implicit | operator JsonObject (bool d) |
| static implicit | operator JsonObject (Vector3f d) |
Static Public Attributes | |
| static JsonObject | theNullObject |
Properties | |
| IEnumerable< JsonObject > | elements [get] |
| IEnumerable< String > | keys [get] |
| String | name [get] |
| JsonType | type [get] |
| JsonObject | this[int index] [get, set] |
| JsonObject | this[string index] [get, set] |
| Object | raw [get] |
Private Member Functions | |
| bool | isDigit (Char c) |
| int | asNumber (Char c) |
| void | append (JsonObject a, JsonObject b) |
| JsonObject | parse (String json) |
| void | indent (ref String ret) |
| void | generateNode (ref String ret) |
Static Private Member Functions | |
| static | JsonObject () |
Private Attributes | |
| JsonType | myType = JsonType.NONE |
| Object | myValue = null |
| String | myName = "" |
| JsonObject | myParent = null |
Static Private Attributes | |
| static int | indentLevel = -1 |
|
inlinestaticprivate |
References makVrl.JsonObject.theNullObject.
Referenced by makVrl.JsonObject.loadFile(), makVrl.JsonObject.operator JsonObject(), and makVrl.JsonObject.parse().
|
inline |
References makVrl.JsonObject.myType, and makVrl.JsonObject.myValue.
|
inline |
|
inlineprivate |
References makVrl.JsonObject.myType, and makVrl.JsonObject.myValue.
Referenced by makVrl.JsonObject.parse().
|
inlineprivate |
|
inline |
References makVrl.JsonObject.myType, makVrl.JsonObject.myValue, and makVrl.JsonObject.name.
|
inline |
References makVrl.JsonObject.myType, and makVrl.JsonObject.myValue.
|
inlineprivate |
References makVrl.JsonObject.indent(), makVrl.JsonObject.indentLevel, makVrl.JsonObject.myType, and makVrl.JsonObject.myValue.
Referenced by makVrl.JsonObject.generateString().
|
inline |
References makVrl.JsonObject.generateNode().
|
inlineprivate |
References makVrl.JsonObject.indentLevel.
Referenced by makVrl.JsonObject.generateNode().
|
inlineprivate |
|
inlinestatic |
References makVrl.JsonObject.JsonObject().
|
inlineexplicitstatic |
References makVrl.JsonObject.myType.
|
inlineexplicitstatic |
References makVrl.JsonObject.myType.
|
inlineexplicitstatic |
References makVrl.JsonObject.myType.
|
inlineexplicitstatic |
References makVrl.JsonObject.myType.
|
inlinestatic |
References makVrl.JsonObject.JsonObject().
|
inlinestatic |
References makVrl.JsonObject.JsonObject().
|
inlinestatic |
References makVrl.JsonObject.JsonObject().
|
inlinestatic |
References makVrl.JsonObject.JsonObject().
|
inlinestatic |
References makVrl.JsonObject.JsonObject().
|
inlinestatic |
References makVrl.JsonObject.JsonObject().
|
inlinestatic |
References makVrl.JsonObject.JsonObject().
|
inlineexplicitstatic |
References makVrl.JsonObject.myType.
|
inlineexplicitstatic |
References makVrl.JsonObject.myType.
|
inlineexplicitstatic |
References makVrl.JsonObject.myType, and makVrl.Vector3f.Zero.
|
inlineprivate |
References makVrl.JsonObject.append(), makVrl.JsonObject.JsonObject(), makVrl.JsonObject.myType, and makVrl.JsonObject.name.
Referenced by makVrl.JsonObject.JsonObject().
|
staticprivate |
Referenced by makVrl.JsonObject.generateNode(), and makVrl.JsonObject.indent().
|
private |
Referenced by makVrl.JsonObject.JsonObject().
|
private |
Referenced by makVrl.JsonObject.JsonObject().
|
private |
Referenced by makVrl.JsonObject.append(), makVrl.JsonObject.contains(), makVrl.JsonObject.count(), makVrl.JsonObject.generateNode(), makVrl.JsonObject.JsonObject(), makVrl.JsonObject.operator bool(), makVrl.JsonObject.operator double(), makVrl.JsonObject.operator float(), makVrl.JsonObject.operator int(), makVrl.JsonObject.operator long(), makVrl.JsonObject.operator string(), makVrl.JsonObject.operator Vector3f(), and makVrl.JsonObject.parse().
|
private |
|
static |
Referenced by makVrl.JsonObject.JsonObject().
|
get |
|
get |
|
get |
Referenced by makVrl.JsonObject.contains(), and makVrl.JsonObject.parse().
|
get |
|
getset |
|
getset |
|
get |