Class JacksonXContentParser


  • public class JacksonXContentParser
    extends Object
    • Constructor Detail

      • JacksonXContentParser

        public JacksonXContentParser​(byte[] data,
                                     org.elasticsearch.common.xcontent.XContentType contentType)
                              throws IOException
        Throws:
        IOException
    • Method Detail

      • readTree

        public static com.fasterxml.jackson.databind.JsonNode readTree​(org.elasticsearch.common.bytes.BytesReference data,
                                                                       org.elasticsearch.common.xcontent.XContentType contentType)
                                                                throws IOException
        Throws:
        IOException
      • readTree

        public static com.fasterxml.jackson.databind.JsonNode readTree​(byte[] data,
                                                                       org.elasticsearch.common.xcontent.XContentType contentType)
                                                                throws IOException
        Throws:
        IOException