append Field
Appends a string field to the JSON.
Return
A reference to this object.
Parameters
key
The key of the field.
value
The value of the field.
Appends an integer field to the JSON.
Return
A reference to this object.
Parameters
key
The key of the field.
value
The value of the field.
open fun appendField(key: String, object: Metrics.JsonObjectBuilder.JsonObject): Metrics.JsonObjectBuilder
Appends an object to the JSON.
Return
A reference to this object.
Parameters
key
The key of the field.
object
The object.
Appends a string array to the JSON.
Return
A reference to this object.
Parameters
key
The key of the field.
values
The string array.
Appends an integer array to the JSON.
Return
A reference to this object.
Parameters
key
The key of the field.
values
The integer array.
open fun appendField(key: String, values: Array<Metrics.JsonObjectBuilder.JsonObject>): Metrics.JsonObjectBuilder
Appends an object array to the JSON.
Return
A reference to this object.
Parameters
key
The key of the field.
values
The integer array.