set_member


Description:

[ Version ( since = "0.8" ) ]
public void set_member (string member_name, owned Node node)

Sets the value of a member inside an object.

If the object does not have a member with the given name, a new member is created.

If the object already has a member with the given name, the current value is overwritten with the new.

Parameters:

this

a JSON object

member_name

the name of the member

node

the value of the member




2022 vala-language.org