Package org.opensearch.common.xcontent
package org.opensearch.common.xcontent
Base XContent parsing and building utiilty class package.
-
ClassDescriptionJsonToStringParser is the main parser class to transform JSON into stringFields in a XContentParser returns XContentParser with one parent field and subfields fieldName, fieldName._value, fieldName._valueAndPathLogs deprecations to the
DeprecationLogger
.Registry for looking things up using ParseField semantics.Objects that can both render themselves in as json/yaml/etc and can provide aRestStatus
for their response.Utility for suggesting source of errors.Helper for xcontent utilities.SPI extensions for OpenSearch-specific classes (like the Lucene or Joda dependency classes) that need to be encoded byXContentBuilder
in a specific way.