Node.initObject

Initializes node to json.types.NodeType.Object and sets object into it.

This function will take a reference on object.

If the node has already been initialized once, it will be reset to the given type, and any data contained will be cleared.

class Node
initObject

Parameters

object json.object.ObjectJson

the JSON object to initialize node with, or NULL

Return Value

Type: json.node.Node

the initialized node