add_member
Description:
[ Version ( deprecated = true , deprecated_since = "0.8" , replacement = "Json.Object.set_member" ) ]
public void add_member (string member_name, owned Node node)
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.
Note:
Use [method@Json.Object.set_member] instead
This function will return if the object already contains a member with the same name.
Parameters:
this |
a JSON object |
member_name |
the name of the member |
node |
the value of the member |