add_node


Description:

[ Version ( since = "2.1.1" ) ]
public void add_node (string key, JsonNode json_node)

Adds a node to the JSON object.

If the node already exists the old one is replaced.

Parameters:

this

a JsonObject

key

dictionary key

json_node

a JsonNode