The JsonData type exposes the following members.

Constructors

  NameDescription
Public methodJsonData()()()()
Default constructor.
Public methodJsonData(Boolean)
Initializes a JsonData class with a boolean value.
Public methodJsonData(Double)
Initializes a JsonData class with a double value.
Public methodJsonData(Int32)
Initializes a JsonData class with an integer value.
Public methodJsonData(Int64)
Initializes a JsonData class with a long value.
Public methodJsonData(Object)
Initializes a JsonData class with an object. Tries to detect the type.
Public methodJsonData(String)
Initializes a JsonData class with a string value.

Methods

  NameDescription
Public methodAdd
Adds a new object to the collection.
Public methodClear
Clears object/array.
Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(JsonData)
Compares the value to another JsonData object.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetJsonType
Returns the internal type.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetJsonType
Sets the internal type.
Public methodToJson
Serializes this object to JSON string.
Public methodToString
Returns a string representation of the value.
(Overrides Object..::..ToString()()()().)

Operators

Properties

  NameDescription
Public propertyCount
Gets the number of items in a collection.
Public propertyIsArray
Gets true for array values.
Public propertyIsBoolean
Gets true for Boolean values.
Public propertyIsDouble
Gets true for Double values.
Public propertyIsInt
Gets true for Int values
Public propertyIsLong
Gets true for Long values.
Public propertyIsNull
Gets true for null values.
Public propertyIsObject
Gets true for Object values.
Public propertyIsString
Gets true for String values.
Public propertyItem[([( Int32])])
Accesses a collection value
Public propertyItem[([( String])])
Accesses a dictionary value.
Public propertyKeys
List of dictionary keys.

See Also