Language Reference Guide : System Classes : JsonObject Class : NewMember Method
 
Share this page          
NewMember Method
Creates a JsonValue for the given value and adds a member to the JsonObject. The type of JsonValue created depends on the value provided. Returns the new JsonValue created.
This method has the following syntax:
JsonValue = JsonObject.NewMember(name = varchar(256), value = variable)
name
Specifies the name of the new member.
value
Specifies the value from which the new member value (a JsonValue subclass object) should be created.