Interface IJsonObject
Interface that is used for the custom implementation of the JSON Object type to be used in NCache.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IJsonObject : IEnumerable<KeyValuePair<string, JsonValueBase>>, IEnumerable
Properties
Name | Description |
---|---|
Count | Number of items in the collection. |
Item[String] | Key based indexer for JSON Object. |
Methods
Name | Description |
---|---|
AddAttribute(String, JsonValue) | Adds JSONValue object with the unique attribute name. |
AddAttribute(String, JsonValueBase) | Adds JSONValueBase object with the unique attribute name. |
Clear() | Clears all the items in the JSONObject and brings the count of attributes to 0. |
ContainsAttribute(String) | Checks if any entry exits against attribute name. |
GetAttributeNames() | Gets all the attribute names. |
GetAttributeValue(String) | Gets attribute against the specified attribute name. |
RemoveAttribute(String) | Removes the attribute entry identified by the attribute name. |