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 | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetJsonType |
Returns the internal type.
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | SetJsonType |
Sets the internal type.
|
![]() | 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 |
List of dictionary keys.
|