- createParser
Creates a parser for the bytes using the supplied content-type
- convertToMap
Convert a string in some XContent format to a Map. Throws an
ElasticsearchParseException if there is
- convertToJson
- toXContent
Returns the bytes that represent the XContent output of the provided ToXContent
object, using the pr
- update
Updates the provided changes into the source. If the key exists in the changes,
it overrides the one
- writeRawField
Writes a "raw" (bytes) field, handling cases where the bytes are compressed, and
tries to optimize w
- allListValuesAreMapsOfOne
- copyCurrentStructure
Low level implementation detail of
XContentGenerator#copyCurrentStructure(XContentParser).
- mergeDefaults
Merges the defaults provided as the second parameter into the content of the
first. Only does recurs
- xContentType
Guesses the content type based on the provided bytes.
- copyCurrentEvent
- toString
Writes serialized toXContent to pretty-printed JSON string.