Builder.addValue
json.builder.Builder addValue(json.node.Node node)Adds a value to the currently open object member or array.
If called after [json.builder.Builder.setMemberName], sets the given node as the value of the current member in the open object; otherwise, the node is appended to the elements of the open array.
The builder will take ownership of the node.
Parameters
node | the value of the member or element |
Returns
the builder instance