Builder.setMemberName
json.builder.Builder setMemberName(string memberName)Sets the name of the member in an object.
This function must be followed by of these functions:
- [json.builder.Builder.addValue], to add a scalar value to the member
- [json.builder.Builder.beginObject], to add an object to the member
- [json.builder.Builder.beginArray], to add an array to the member
This function can only be called within an open object.
Parameters
memberName | the name of the member |
Returns
the builder instance