appendField

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.


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.


Appends an object array to the JSON.

Return

A reference to this object.

Parameters

key

The key of the field.

values

The integer array.