JSONPrimitive
JSONObject
![]() | Constructor that takes no parameters. |
![]() | Returns the value as Boolean from the primitive |
![]() | Returns the number of elements in the object. |
![]() | Returns the value as Double from the primitive |
![]() | Returns the value as Integer (Int64) from the primitive |
![]() | Returns true if the primitive contains Array. |
![]() | Returns true if the primitive contains Boolean. |
![]() | Returns true if the primitive contains Double. |
![]() | Returns true if the primitive is false. |
![]() | Returns true if the primitive contains Integer value. |
![]() | Returns true if the primitive contains null or nil. |
![]() | Returns true if the primitive contains number (can be Integer or Double) |
![]() | Returns true if the primitive contains JSONObject (dictionary) |
![]() | Returns true if the primitive contains String. |
![]() | Returns true if the primitive is true. |
![]() | Returns the value as Double from the primitive, reading the value either from Integer or Double, not caring which one it is. |
![]() | Returns the value as String from the primitive |
![]() | Returns type code for the primitive. The type code can be any value from the JSONPrimitive.NodeTypeEnum. |
![]() | Reads or writes Boolean value in the array by key. |
![]() | Clears all elements from the JSONObject. |
![]() | Makes a clone of the JSONPrimitive. |
![]() | Returns true if the JSON object contains the given key. |
![]() | Creates iterator to iterate through the JSONObject. |
![]() | Creates iterator to iterate through the JSONObject. This variation will start the iterator at given key. |
![]() | Reads or writes Double value in the array by key. |
![]() | Generates JSON string from the JSON object model. All parameters of this function are optional. |
![]() | Reads or writes Integer value in the array by key. |
![]() | Comparison operator to compare two JSONPrimitives with the standard Xojo = operator. |
![]() | Reads value from the JSONObject by key using standard array operator. |
![]() | Writes value to the JSONObject by key using standard array operator. |
![]() | Removes element by key from the JSONObject. |
![]() | Reads or writes String value in the array by key. |
![]() | Attempts to convert the JSON structure to variant. Taking optional delegate to evaluate custom structures such as color and date which are not part of normal JSON standard. |
![]() | Updates the JSONObject (Dictionary) with values from other JSONObject overriding existing keys. |
![]() | Updates the JSONObject (Dictionary) with values from other JSONObject overriding existing keys, updating only keys value pairs that already exist in the current JSONobject. No new keys are created in the current JSONobject. |
![]() | Updates the JSONObject (Dictionary) with values from other JSONObject only adding key value pairs which are missing in the current JSONobject. Only new keys are created and no existing keys are updated. |
![]() | Calls the given delegate routine for each element in the JSONObject. |
![]() | Same as walk but deleting during walk is safe in this version. Walk is slower though. |
![]() | A delegate for the Walk method on this class. |