STAY IN TOUCH

and receive our newsletter to get the latest news and tips.


Json Object

A json data structure.
function (Json Object) → at(index : Number) returns Json Object
Gets the i-th json value
function (Json Object) → boolean(key : String) returns Boolean
Gets a field value as a boolean
function (Json Object) → clone returns Json Object
Creates a deep copy clone of the object
function (Json Object) → contains key(key : String) returns Boolean
Indicates if the key exists
function (Json Object) → count returns Number
Gets the number of values
function (Json Object) → field(key : String) returns Json Object
Gets a value by name
function (Json Object) → format(spaces : Number) returns String
Create a string formatted for easy readability
function (Json Object) → is invalid returns Boolean
Returns true if the current instance is useless
function (Json Object) → keys returns Collection of String
Gets the list of keys
function (Json Object) → kind returns String
Gets a json kind (string, number, object, array, boolean, null)
function (Json Object) → number(key : String) returns Number
Gets a field value as a number
function (Json Object) → post to wall
Prints the value to the wall
function (Json Object) → serialize returns String
Stringify the current JSON object
function (Json Object) → string(key : String) returns String
Gets a field value as a string
function (Json Object) → time(key : String) returns DateTime
Gets the field value as a time
function (Json Object) → to boolean returns Boolean
Converts to a boolean (type must be boolean)
function (Json Object) → to collection returns Collection of Json Object
Converts to a collection of JsonObjects (type must be array)
function (Json Object) → to json builder returns Json Builder
Copy current JSON object into a Json Builder so it can be modified
function (Json Object) → to number returns Number
Converts to a number (type must be number)
function (Json Object) → to string returns String
Converts to a string (type must be string)
function (Json Object) → to time returns DateTime
Converts and parses to a date time (type must be string)

edit this topic nxtlimwrzu