JSON::Node

Functions

Name

Description

getType

Returns the Node’s JSON::Type.

contains

Checks if the Object Node contains a certain key.

size

Returns the number of elements in an Array Node or Object Node.

operator[]

Returns the element at a certain index in an Array Node or a certain key in an Object Node.

getKeys

Returns all keys of an Object Node.

getNumber

Returns the number contained in a Number Node.

getString

Returns the string contained in a String Node.

getBoolean

Returns the boolean contained in a Boolean Node.

addObject

Adds an element to an Array Node or to certain key in an Object Node.

setNumber

Sets the value of a Number Node.

setString

Sets the value of a String Node.

setBoolean

Sets the value of a Boolean Node.