The JsonData type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| JsonData()()()() |
Default constructor.
| |
| JsonData(Boolean) |
Initializes a JsonData class with a boolean value.
| |
| JsonData(Double) |
Initializes a JsonData class with a double value.
| |
| JsonData(Int32) |
Initializes a JsonData class with an integer value.
| |
| JsonData(Int64) |
Initializes a JsonData class with a long value.
| |
| JsonData(Object) |
Initializes a JsonData class with an object. Tries to detect the type.
| |
| JsonData(String) |
Initializes a JsonData class with a string value.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a new object to the collection.
| |
| Clear |
Clears object/array.
| |
| Equals(Object) | (Inherited from Object.) | |
| Equals(JsonData) |
Compares the value to another JsonData object.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetJsonType |
Returns the internal type.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetJsonType |
Sets the internal type.
| |
| ToArrayList | ||
| ToHashtable | ||
| ToJson |
Serializes this object to JSON string.
| |
| ToString |
Returns a string representation of the value.
(Overrides Object..::..ToString()()()().) |
Operators
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of items in a collection.
| |
| IsArray |
Gets true for array values.
| |
| IsBoolean |
Gets true for Boolean values.
| |
| IsDouble |
Gets true for Double values.
| |
| IsInt |
Gets true for Int values
| |
| IsLong |
Gets true for Long values.
| |
| IsNull |
Gets true for null values.
| |
| IsObject |
Gets true for Object values.
| |
| IsString |
Gets true for String values.
| |
| Item[([( Int32])]) |
Accesses a collection value
| |
| Item[([( String])]) |
Accesses a dictionary value.
| |
| Keys |