JsonObject.put(String name, JsonNode jsonNode) Method

Definition

Puts a JsonNode field with the specified name into the object.

public abstract JsonObject put(String name, JsonNode jsonNode)

Parameters

name
java.lang.String

Name of the node.

jsonNode
JsonNode

The JsonNode to put into the object.

Returns

The update JsonObject object.

Applies to