- beginObject
Begins encoding a new object. Each call to this method must be paired with a
call to #endObject.
- of
Returns a new instance that writes UTF-8 encoded JSON to sink.
- close
- endObject
Ends encoding the current object.
- name
Encodes the property name.
- setSerializeNulls
Sets whether object members are serialized when their value is null. This has no
impact on array ele
- value
Encodes value.
- 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.
- nullValue
Encodes null.
- peekScope
Returns the scope on the top of the stack.
- setIndent
Sets the indentation string to be repeated for each level of indentation in the
encoded document. If