Node.init_
json.node.Node init_(json.types.NodeType type)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.
Parameters
type | the type of JSON node to initialize node to |
Returns
the initialized node