Write field name to the current context.
Begins JArray.
Begins JArray. The builder state will be in BuilderState.InContext
.
Make writeXXX
calls to write into this array,
and end with endArray
.
Begins JObject.
Begins JObject. The builder state will be in BuilderState.InObject
.
Make pairs addField("abc")
and writeXXX
calls to make field entries,
and end with endObject
.
Begins an offline JObject, which will later be used for beginObject().
Begins an offline JObject, which will later be used for beginObject().
The builder state will be in BuilderState.InObject
.
Make pairs addField("abc")
and writeXXX
calls to make field entries,
and end with endObject
.
Ends the current array context.
Ends the current object context.
Ends the current object context.
Checks if the current state is InObject
Write BigDecimal
value to the current context.
Write Boolean
value to the current context.
Write Double
value to the current context.
Write Int
value to the current context.
Write Long
value to the current context.
Write null to the current context.
Write String
value to the current context.
Builder is an mutable structure to write JSON into.