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

Class JsonArray

This class represents JArray in JSON standards.

Inheritance
System.Object
JsonValueBase
JsonArray
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 JsonArray : JsonValueBase, IJsonArray, ICollection<JsonValueBase>, IEnumerable<JsonValueBase>, IEnumerable

Constructors

Name Description
JsonArray()

The default constructor of class JsonArray.

JsonArray(String)

An overloaded constructor that takes JsonArray object in string format.

Properties

Name Description
Count

This property gets total items in array.

InMemorySize

This property gets memory size of the JSONArray.

Item[Int32]

Indexer for the JSON Arary.

Size

This property gets the size of the JSONArray.

Value

This property initializes JSONArray instance.

Methods

Name Description
Add(JsonValue)

Adds JSONValue item to array.

Add(JsonValueBase)

Adds JSONValueBase item to array.

Clear()

Clears all array items and brings count to 0.

Contains(JsonValue)

Checks if a JSONValue item exits in array.

Contains(JsonValueBase)

Checks if a JsonValueBase item exits in array.

CopyTo(JsonValueBase[], Int32)

Copies items from provided array starting from a particular array index.

Equals(Object)

Checks if an object is equal to this instance of JSONArray.

GetEnumerator()

Returns an enumerator that iterates through JSONArray items.

Remove(JsonValue)

Removes JSONValue item from array.

Remove(JsonValueBase)

Removes JsonValueBase item from array.

ToString()

Returns JSONArray 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