JsonValue class.
This is base class of all JsonValue types.
| Consts | |
|---|---|
| NullValue |
| Properties | |
|---|---|
| IsArray | True if value is an array. (read only) |
| IsBool | True if value is a bool. (read only) |
| IsNull | True if value is null. (read only) |
| IsNumber | True if value is a number. (read only) |
| IsObject | True if value is an object. (read only) |
| IsString | True if value is a string. (read only) |
| Methods | |
|---|---|
| Save | Saves the value as a JSON string to a file. |
| ToArray | Gets array value. |
| ToBool | Gets bool value. |
| ToJson | Converts the value to a JSON string. |
| ToNumber | Gets number value. |
| ToObject | Gets object value. |
| ToString | Gets string value. |
| Functions | |
|---|---|
| Load | Load the value from a JSON string stored in a file. |
| Parse | Creates a JSONValue from a JSON string. |