Node.initDouble

json.node.Node initDouble(double 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

valuea floating point value

Returns

the initialized node