- value
Encodes value.
- nullValue
Encodes null.
- beginObject
Begins encoding a new object. Each call to this method must be paired with a
call to #endObject.
- endObject
Ends encoding the current object.
- name
Encodes the property name.
- <init>
Creates a new instance that writes a JSON-encoded stream to out. For best
performance, ensure Writer
- beginArray
Begins encoding a new array. Each call to this method must be paired with a call
to #endArray.
- endArray
Ends encoding the current array.
- close
Closes the current scope by appending any necessary whitespace and the given
bracket.
- setIndent
Sets the indentation string to be repeated for each level of indentation in the
encoded document. If
- flush
Ensures all buffered data is written to the underlying Writerand flushes that
writer.
- setSerializeNulls
Sets whether object members are serialized when their value is null. This has no
impact on array ele