Interface IJSONDocument
This interface provides implementation for the JsonDocument class to examine the structural content of a JSON value.
Inherited Members
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Obsolete("This API is deprecated and will be removed in a future release. This feature is being retired and will not be continued in future versions.", false)]
public interface IJSONDocument : ICloneable, IComparable, IEnumerable<KeyValuePair<string, object>>, IEnumerable, ICompactSerializable
Properties
| Name | Description |
|---|---|
| Count | Attribute count of IJSONDocument. |
| Item[String] | Gets/Sets the value of the specified attribute. |
| Size | Size of the IJSONDocument. |
Methods
| Name | Description |
|---|---|
| Add(String, IJSONDocument) | Adds an IJSONDocument object as a IJSONDocument attribute value. |
| Add(String, Array) | Adds System.Array object as IJSONDocument attribute value. |
| Add(String, Boolean) | Adds boolean value as IJSONDocument attribute value. |
| Add(String, DateTime) | Adds System.DateTime object as IJSONDocument attribute value. |
| Add(String, Double) | Adds double value as IJSONDocument attribute value. |
| Add(String, Int16) | Adds short value as IJSONDocument attribute value. |
| Add(String, Int32) | Adds integer value as IJSONDocument attribute value. |
| Add(String, Int64) | Adds long value as IJSONDocument attribute value. |
| Add(String, Object) | Adds System.Object as IJSONDocument attribute value. |
| Add(String, Single) | Adds float value as IJSONDocument attribute value. |
| Add(String, String) | Adds System.String object as IJSONDocument attribute value. |
| Clear() | Removes all attributes that exist for IJSONDocument. |
| Contains(String) | Checks for containement of attribute in IJSONDocument. |
| Get<T>(String) | Gets the value of the specified attribute of specified type. |
| GetArray<T>(String) | Gets the value of the specified attribute as array of specified type. |
| GetAsDecimal(String) | Get the value of the specified attribute as decimal. |
| GetAsDouble(String) | Gets the value of the specified attribute as double. |
| GetAsFloat(String) | Gets the value of the specified attribute as float. |
| GetAsInt16(String) | Gets the value of specified attribute as short. |
| GetAsInt32(String) | Gets the value of the specified attribute as integer. |
| GetAsInt64(String) | Gets the value of the specified attribute as long. |
| GetAsString(String) | Gets the value of the specified attribute as string. |
| GetAttributeDataType(String) | Gets the JsonDataType of the value of specified attribute. |
| GetAttributes() | Gets all attributes that exist for the IJSONDocument. |
| GetBoolean(String) | Gets the value of the specified attribute as boolean. |
| GetDateTime(String) | Gets the value of the specified attribute as System.DateTime. |
| GetDocument(String) | Gets the value of the specified attribute as IJSONDocument. |
| GetString(String) | Gets the value of the specified attribute as string. |
| Parse<T>() | Parses the IJSONDocument object into the specified type object. |
| Remove(String) | Removes the specified attribute from IJSONDocument. |
| TryGet(String, out Object) | Gets the value of the specified attribute if it exists in IJSONDocument. |
| TryGet<T>(String, out T) | Gets the value of the specified attribute if it exists in IJSONDocument. |