• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Class JsonObject

Class represents JObject in JSON standards.

Inheritance
System.Object
JsonValueBase
JsonObject
Inherited Members
JsonValueBase.DataType
JsonValueBase.Parse(String)
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
[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 sealed class JsonObject : JsonValueBase, IJsonObject, IEnumerable<KeyValuePair<string, JsonValueBase>>, IEnumerable

Constructors

Name Description
JsonObject()

The default constructor of class JsonObject.

JsonObject(String)

An Overloaded constructor that populates attributes by parsing given JSONObject string.

JsonObject(String, String)

Overloaded constructor which populates attributes by parsing given JSONObject string and Type.

Properties

Name Description
Count

Number of attributes in object.

InMemorySize

In memory size of the JSONObject.

Item[String]

Iterates over attributes in JSONObject.

Size

Size of the JSONObject.

Type

Type of the Json object.

Value

Returns instance of this object.

Methods

Name Description
AddAttribute(String, JsonValue)

Adds an attribute in the object.

AddAttribute(String, JsonValueBase)

Adds an attribute in the object.

Clear()

Removes all attributes from JSONObject.

ContainsAttribute(String)

Checks if the attribute exits.

Equals(Object)

Checks if an object is equal to the existing instance of JSONObject.

GetAttributeNames()

Retruns collection of all the attribute names.

GetAttributeValue(String)

Gets attribute value identified by the attribute name.

GetEnumerator()

Returns an enumerator that iterates through JSONObject attributes.

RemoveAttribute(String)

Removes attribute from object on the basis of attribute name provided.

ToString()

Returns JSONObject in string representation.

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top