Interface IJsonObject
Interface that is used for custom implementation of JSON Object type to be used in NCache
Namespace:
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 |
---|---|
Add |
Adds JSONValue object with the unique attribute name |
Add |
Adds JSONValueBase object with the unique attribute name |
Clear() | Clears all the items in the JSONObject and brings the count of attributes to 0 |
Contains |
Checks if any entry exits against attribute name |
Get |
Gets all the attribute names |
Get |
Gets attribute against the specified attribute name |
Remove |
Removes the attribute entry identified by the attribute name |