Initializes a node to a specific type.
If the node has already been initialized once, it will be reset to the given type, and any data contained will be cleared.
the type of JSON node to initialize node to
the initialized node
Initializes a node to a specific type.
If the node has already been initialized once, it will be reset to the given type, and any data contained will be cleared.