JsonArray Methods |
The JsonArray type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an items to the end of the array.
| |
AddArray |
Adds an empty array and returns its instance.
| |
AddObject |
Adds an empty object and returns its instance.
| |
AddRange |
Adds the values of the specified collection to the end of the array.
| |
Clear |
Removes all elements from the array.
| |
Contains |
Determines whether an element is in the array.
| |
CopyTo |
Copies the entire JsonArray to a compatible one-dimensional array, starting at the specified index of the
target array.
| |
Equals(Object) |
Determines whether current object is equal to another object.
(Overrides ObjectEquals(Object).) | |
Equals(JsonArray) |
Determines whether current object is equal to another object.
| |
Equals(JsonDynamic) |
Determines whether current object is equal to another object.
| |
GetEnumerator |
Returns an enumerator that iterates through the array.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.) | |
IndexOf |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire
array.
| |
Insert |
Inserts an value into the array at the specified index.
| |
InsertArray |
Inserts an empty array at the specified index and returns its instance.
| |
InsertObject |
Adds an empty object at the specified index and returns its instance.
| |
InsertRange |
Inserts the values of a collection into the array at the specified index.
| |
Remove |
Removes the first occurrence of a specific object from the JsonArray.
| |
RemoveAt |
Removes the element at the specified index of the array.
|
Name | Description | |
---|---|---|
AsArray |
Casts (CType) value to JsonObject.
(Defined by JsonValueExtensions.) | |
AsBoolean |
Casts (CType) value to JsonBool.
(Defined by JsonValueExtensions.) | |
AsNumber |
Casts (CType) value to JsonNumber.
(Defined by JsonValueExtensions.) | |
AsObject |
Casts (CType) value to JsonObject.
(Defined by JsonValueExtensions.) | |
AsString |
Casts (CType) value to JsonString.
(Defined by JsonValueExtensions.) | |
ToDynamic |
Wraps given json value to dynamic type.
(Defined by JsonValueExtensions.) |