[ Version ( deprecated = true , deprecated_since = "0.8" , replacement = "Json.Object.set_member" ) ]
public void add_member (string member_name, owned Node node)
Warning: add_member is deprecated since 0.8. Use Json.Object.set_member.
Adds a new member for the given name and value into an object.
Use [[email protected]_member] instead
This function will return if the object already contains a member with the same name.
this |
a JSON object |
member_name |
the name of the member |
node |
the value of the member |