Click or drag to resize
JsonArray Methods

The JsonArray type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds an items to the end of the array.
Public methodAddArray
Adds an empty array and returns its instance.
Public methodAddObject
Adds an empty object and returns its instance.
Public methodAddRange
Adds the values of the specified collection to the end of the array.
Public methodClear
Removes all elements from the array.
Public methodContains
Determines whether an element is in the array.
Public methodCopyTo
Copies the entire JsonArray to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodEquals(Object)
Determines whether current object is equal to another object.
(Overrides ObjectEquals(Object).)
Public methodEquals(JsonArray)
Determines whether current object is equal to another object.
Public methodEquals(JsonDynamic)
Determines whether current object is equal to another object.
Public methodGetEnumerator
Returns an enumerator that iterates through the array.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire array.
Public methodInsert
Inserts an value into the array at the specified index.
Public methodInsertArray
Inserts an empty array at the specified index and returns its instance.
Public methodInsertObject
Adds an empty object at the specified index and returns its instance.
Public methodInsertRange
Inserts the values of a collection into the array at the specified index.
Public methodRemove
Removes the first occurrence of a specific object from the JsonArray.
Public methodRemoveAt
Removes the element at the specified index of the array.
Top
Extension Methods
  NameDescription
Public Extension MethodAsArray
Casts (CType) value to JsonObject.
(Defined by JsonValueExtensions.)
Public Extension MethodAsBoolean
Casts (CType) value to JsonBool.
(Defined by JsonValueExtensions.)
Public Extension MethodAsNumber
Casts (CType) value to JsonNumber.
(Defined by JsonValueExtensions.)
Public Extension MethodAsObject
Casts (CType) value to JsonObject.
(Defined by JsonValueExtensions.)
Public Extension MethodAsString
Casts (CType) value to JsonString.
(Defined by JsonValueExtensions.)
Public Extension MethodToDynamic
Wraps given json value to dynamic type.
(Defined by JsonValueExtensions.)
Top
See Also