Node.initInt

json.node.Node initInt(long value)

Initializes node to [json.types.NodeType.Value] and sets value into it.

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

Parameters

valuean integer

Returns

the initialized node