|
override JSONNodeType | Tag [get] |
|
override bool | IsBoolean [get] |
|
override string | Value [get, set] |
|
override bool | AsBool [get, set] |
|
JSONNodeType | Tag [get] |
|
virtual JSONNode | this[int aIndex] [get, set] |
|
virtual JSONNode | this[string aKey] [get, set] |
|
virtual string | Value [get, set] |
|
virtual int | Count [get] |
|
virtual bool | IsNumber [get] |
|
virtual bool | IsString [get] |
|
virtual bool | IsBoolean [get] |
|
virtual bool | IsNull [get] |
|
virtual bool | IsArray [get] |
|
virtual bool | IsObject [get] |
|
virtual bool | Inline [get, set] |
|
virtual IEnumerable< JSONNode > | Children [get] |
|
IEnumerable< JSONNode > | DeepChildren [get] |
|
IEnumerable< KeyValuePair< string, JSONNode > > | Linq [get] |
|
KeyEnumerator | Keys [get] |
|
ValueEnumerator | Values [get] |
|
virtual double | AsDouble [get, set] |
|
virtual int | AsInt [get, set] |
|
virtual float | AsFloat [get, set] |
|
virtual bool | AsBool [get, set] |
|
virtual long | AsLong [get, set] |
|
virtual JSONArray | AsArray [get] |
|
virtual JSONObject | AsObject [get] |
|
Definition at line 1104 of file SimpleJSON.cs.
◆ JSONBool() [1/2]
SimpleJSON.JSONBool.JSONBool |
( |
bool | aData | ) |
|
◆ JSONBool() [2/2]
SimpleJSON.JSONBool.JSONBool |
( |
string | aData | ) |
|
◆ Clone()
override JSONNode SimpleJSON.JSONBool.Clone |
( |
| ) |
|
|
virtual |
◆ Equals()
override bool SimpleJSON.JSONBool.Equals |
( |
object | obj | ) |
|
Definition at line 1147 of file SimpleJSON.cs.
1148 {
1149 if (obj == null)
1150 return false;
1151 if (obj is bool)
1152 return m_Data == (bool)obj;
1153 return false;
1154 }
◆ GetEnumerator()
override Enumerator SimpleJSON.JSONBool.GetEnumerator |
( |
| ) |
|
◆ GetHashCode()
override int SimpleJSON.JSONBool.GetHashCode |
( |
| ) |
|
Definition at line 1155 of file SimpleJSON.cs.
1156 {
1157 return m_Data.GetHashCode();
1158 }
◆ AsBool
override bool SimpleJSON.JSONBool.AsBool |
|
getset |
Definition at line 1122 of file SimpleJSON.cs.
1123 {
1124 get { return m_Data; }
1125 set { m_Data = value; }
1126 }
◆ IsBoolean
override bool SimpleJSON.JSONBool.IsBoolean |
|
get |
◆ Tag
◆ Value
override string SimpleJSON.JSONBool.Value |
|
getset |
Definition at line 1112 of file SimpleJSON.cs.
1113 {
1114 get { return m_Data.ToString(); }
1115 set
1116 {
1117 bool v;
1118 if (bool.TryParse(value, out v))
1119 m_Data = v;
1120 }
1121 }
Referenced by SimpleJSON.JSONBool.JSONBool().
The documentation for this class was generated from the following file:
- C:/Interhaptics/sdk_unity/Interhaptics/Runtime/Platforms/Mobile/Dependencies/UnityCoreHaptics/Plugins/iOS/Editor/SimpleJSON.cs