Interface IJSONDocument
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IJSONDocument : ICloneable, IComparable, IEnumerable<KeyValuePair<string, object>>, ICompactSerializable
Properties
Name | Description |
---|---|
Count | Attribute count of IJSONDocument. |
Item[String] | Gets or sets value of specified attribute. |
Size | Size of IJSONDocument. |
Methods
Name | Description |
---|---|
Add(String, IJSONDocument) | Adds IJSONDocument object as IJSONDocument attribute value. |
Add(String, Array) | Adds |
Add(String, DateTime) | Adds |
Add(String, Boolean) | Adds boolean value 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 |
Add(String, Single) | Adds float value as IJSONDocument attribute value. |
Add(String, String) | Adds |
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 Alachisoft.NCache.Runtime.Enum.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 |
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. |