Builder.addBooleanValue

json.builder.Builder addBooleanValue(bool value)

Adds a boolean value to the currently open object member or array.

If called after json.builder.Builder.setMemberName, sets the given value as the value of the current member in the open object; otherwise, the value is appended to the elements of the open array.

See also: json.builder.Builder.addValue

Parameters

valuethe value of the member or element

Returns

the builder instance