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


The following tables list the members exposed by JSONObject.

Public Constructors

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

Public Properties

  Name Description
Public Property Count Gets the number of elements actually contained in the JSONObject.  
Public Property ElementType Overridden. Gets the type of the JSONElement.  
Public Property IsReadOnly Gets a value indicating whether the JSONObject is read-only.  
Public Property Item Overloaded. Gets or sets the JSONElement.  
Public Property Keys Gets an ICollection<string> containing the keys of the JSONObject.  
Public Property SerializationType Gets or sets the Value of the JSONString element having key JSONSerializer.VarNames_Type.  
Public Property SerializationVersion Gets or sets the Int32Value of the JSONNumber element having key JSONSerializer.VarNames_Version.  
Public Property Values Gets an ICollection<JSONElement> containing the elements in the JSONObject.  
Top

Public Methods

  Name Description
Public Method Add Overloaded. Adds a JSONElement to the end of the JSONObject with the specified key.  
Public Method Clear Removes all elements from the JSONObject.  
Public Method Clone Creates a copy of the JSONObject.  
Public Method Contains Determines whether the JSONObject contains a specific item.  
Public Method ContainsKey Determines whether the JSONObject contains a JSONElement with the specified key.  
Public Method CopyTo Copies the entire JSONObject 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 JSONObject 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 with the specified key.  
Public Method GetBool Gets the JSONBool element with the specified key.  
Public Method GetBoolValue Gets the Value of the JSONBool element with the specified key.  
Public Method GetEnumerator Returns an enumerator that iterates through the JSONObject.  
Public Method GetHashCode Serves as a hash function for a particular type. (Inherited from JSONElement)
Public Method GetKey Gets the key of the element at the specified index.  
Public Method GetNull Gets a value indicating whether the element (or its value) with the specified key is null.  
Public Method GetNumber Gets the JSONNumber element with the specified key.  
Public Method GetNumberDecimalValue Gets the DecimalValue of the JSONNumber element with the specified key.  
Public Method GetNumberInt32Value Gets the Int32Value of the JSONNumber element with the specified key.  
Public Method GetNumberSingleValue Gets the SingleValue of the JSONNumber element with the specified key.  
Public Method GetObject Gets the JSONObject element with the specified key.  
Public Method GetSerializationType Gets the instance of the Type class whose name is specified by the SerializationType property.  
Public Method GetSerializationVersion Gets the serialization version of the object.  
Public Method GetString Gets the JSONString element with the specified key.  
Public Method GetStringValue Gets the Value of the JSONString element with the specified key.  
Public Method Remove Overloaded. Removes a JSONElement from the JSONObject.  
Public Method SetArray Sets the JSONArray element with the specified key.  
Public Method SetBool Sets the JSONBool element with the specified key.  
Public Method SetBoolValue Initializes a new instance of the JSONBool class with the provided value and then sets the new element with the specified key.  
Public Method SetNull Sets the item with the specified key to null.  
Public Method SetNumber Sets the JSONNumber element with the specified key.  
Public Method SetNumberValue Initializes a new instance of the JSONNumber class with the provided value and then sets the new element with the specified key.  
Public Method SetObject Sets the JSONObject element with the specified key.  
Public Method SetSerializationType Sets the value of the SerializationType property to the name of the specified Type.  
Public Method SetString Sets the JSONString element with the specified key.  
Public Method SetStringValue Initializes a new instance of the JSONString class with the provided value and then sets the new element with the specified key.  
Public Method ToString Returns a string that represents the current object. (Inherited from JSONElement)
Public Method TryGetValue Gets the JSONElement associated with the specified key.  
Top

See Also

©2013 Sergio Turolla. All Rights Reserved.