| JsonDynamic Methods |
The JsonDynamic type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(JsonValue) |
Adds an items to the end of the array.
| |
| Add(String, JsonValue) |
Adds an member with the specified key to this object.
| |
| AddArray |
Adds an empty array to the end of the array and returns its instance.
| |
| AddArray(String) |
Adds an empty array property and returns it's instance.
| |
| AddObject |
Adds an empty object and returns its instance.
| |
| AddObject(String) |
Adds an empty object property and returns its instance.
| |
| AddRange |
Adds the values of the specified collection to the end of the array.
| |
| ContainsKey |
Tests whether the object contains a member with the specified key. It does not check the value of the member
which might be null.
| |
| ContainsKeyNotNull |
Tests whether the object contains a member with the specified key and which is not null.
| |
| Equals(Object) |
Determines whether current object is equal to another object.
(Overrides ValueTypeEquals(Object).) | |
| Equals(JsonDynamic) |
Determines whether current object is equal to another object.
| |
| Equals(JsonValue) |
Determines whether current object is equal to another object.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Overrides ValueTypeGetHashCode.) | |
| GetOrAdd(String, JsonDynamic) |
Gets the member stored under given key. If key does not exist provided value is stored as new member.
| |
| GetOrAdd(String, JsonValue) |
Gets the member stored under given key. If key does not exist provided value is stored as new member.
| |
| GetOrDefault(String, JsonDynamic) |
Gets value stored under given key and casts it to dynamic type. If not such member exists than defaultValue
is returned.
| |
| GetOrDefault(String, JsonValue) |
Gets value stored under given key and returns it as dynamic type. If not such member exists than defaultValue
is returned.
| |
| 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.
| |
| ToJson |
Gets to JSON encoded string representing this object.
|
| Name | Description | |
|---|---|---|
| ToStatic |
Returns the value of the dynamic wrapper.
(Defined by JsonDynamicExtensions.) |