Interface XContentParser

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
AbstractXContentParser, CborXContentParser, FilterXContentParser, JsonXContentParser, MapXContentParser, SmileXContentParser, XContentSubParser, YamlXContentParser

public interface XContentParser extends Closeable
Interface for pull - parsing XContent see XContentType for supported types. To obtain an instance of this class use the following pattern:
     XContentType xContentType = XContentType.JSON;
     XContentParser parser = xContentType.xContent().createParser(
          NamedXContentRegistry.EMPTY, ParserField."{\"key\" : \"value\"}");