CodeCarvings.Piczard
JSONArray Class Members
See Also  Properties  Methods  Send Feedback
CodeCarvings.Piczard.Serialization Namespace : JSONArray Class


The following tables list the members exposed by JSONArray.

Public Constructors

  Name Description
Public Constructor JSONArray Constructor Overloaded. Initializes a new instance of the JSONArray class.  
Top

Public Properties

  Name Description
Public Property Count Gets the number of elements actually contained in the JSONArray.  
Public Property ElementType Overridden. Gets the type of the JSONElement.  
Public Property IsReadOnly Gets a value indicating whether the JSONArray is read-only.  
Public Property Item Gets or sets the JSONElement at the specified index.  
Top

Public Methods

  Name Description
Public Method Add Adds a JSONElement to the end of the JSONArray.  
Public Method AddArray Adds a JSONArray to the end of this list.  
Public Method AddBool Adds a JSONBool to the end of the JSONArray.  
Public Method AddBoolValue Initializes a new instance of the JSONBool class with the specified value and then adds it to the end of the JSONArray.  
Public Method AddNull Adds a null value to the end of the JSONArray.  
Public Method AddNumber Adds a JSONNumber to the end of the JSONArray.  
Public Method AddNumberValue Initializes a new instance of the JSONNumber class with the specified value and then adds it to the end of the JSONArray.  
Public Method AddObject Adds a JSONObject to the end of the JSONArray.  
Public Method AddString Adds a JSONString to the end of the JSONArray.  
Public Method AddStringValue Initializes a new instance of the JSONString class with the specified value and then adds it to the end of the JSONArray.  
Public Method Clear Removes all elements from the JSONArray.  
Public Method Clone Creates a copy of the JSONArray.  
Public Method Contains Determines whether a JSONElement is in the JSONArray.  
Public Method CopyTo Copies the entire JSONArray to a compatible one-dimensional System.Array, starting at the specified index of the target array.  
Public Methodstatic (Shared in Visual Basic) Decode Overloaded. Initializes a new instance of the JSONArray class by decoding the specified JSON string.  
Public Method Encode Encodes the current JSONElement to a JSON string. (Inherited from JSONElement)
Public Method Equals Determines whether the specified object is equal to the current object. (Inherited from JSONElement)
Public Method GetArray Gets the JSONArray element at the specified index.  
Public Method GetBool Gets the JSONBool element at the specified index.  
Public Method GetBoolValue Gets the Value of the JSONBool element at the specified index.  
Public Method GetEnumerator Returns an enumerator that iterates through the JSONArray.  
Public Method GetHashCode Serves as a hash function for a particular type. (Inherited from JSONElement)
Public Method GetNull Gets a value indicating whether the element (or its value) at the specified index is null.  
Public Method GetNumber Gets the JSONNumber element at the specified index.  
Public Method GetNumberDecimalValue Gets the DecimalValue of the JSONNumber element at the specified index.  
Public Method GetNumberInt32Value Gets the Int32Value of the JSONNumber element at the specified index.  
Public Method GetNumberSingleValue Gets the SingleValue of the JSONNumber element at the specified index.  
Public Method GetObject Gets the JSONObject element at the specified index.  
Public Method GetString Gets the JSONString element at the specified index.  
Public Method GetStringValue Gets the Value of the JSONString element at the specified index.  
Public Method IndexOf Searches for the specified JSONElement and returns the zero-based index of the first occurrence within the entire JSONArray.  
Public Method Insert Inserts a JSONElement into the JSONArray at the specified index.  
Public Method Remove Removes the first occurrence of a specific JSONElement from the JSONArray.  
Public Method RemoveAt Removes the JSONElement at the specified index of the JSONArray.  
Public Method SetArray Sets the JSONArray element at the specified index.  
Public Method SetBool Sets the JSONBool element at the specified index.  
Public Method SetBoolValue Initializes a new instance of the JSONBool class with the provided value and then sets the new element at the specified index.  
Public Method SetNull Sets the item at the specified index to null.  
Public Method SetNumber Sets the JSONNumber element at the specified index.  
Public Method SetNumberValue Initializes a new instance of the JSONNumber class with the provided value and then sets the new element at the specified index.  
Public Method SetObject Sets the JSONObject element at the specified index.  
Public Method SetString Sets the JSONString element at the specified index.  
Public Method SetStringValue Initializes a new instance of the JSONString class with the provided value and then sets the new element at the specified index.  
Public Method ToString Returns a string that represents the current object. (Inherited from JSONElement)
Top

See Also

©2013 Sergio Turolla. All Rights Reserved.