JsonValues Class extending Object

/ The JsonValues is returned after parsing Json succesfully. Each JsonValues object acts as a map where it can hold multiple parsed json values by name and value. /

Class Methods

Returns true if an index with the given name exists

function has(string index_name) : boolean


Sets the number for the index provided

function setNumber(string name, number value) : number

Sets the string for the index provided

function setString(string name, number value) : number


Sets the object for the index provided

function setObject(string name, SessionValues value) : number

Gets the number for the index provided

function getNumber(string name) : number


Gets the string for the index provided

function getString(string name) : string

Gets the object for the index provided

function getObject(string name) : SessionValues


Gets the array for the index provided

function getArray(string name) : array