Registry / serialization / elasticsearch-x-content

elasticsearch-x-content

JSON →
library9.3.3javamavenunverified

Elasticsearch subproject providing X-Content parsing and generation utilities.

<dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch-x-content</artifactId> <version>9.3.3</version> </dependency>
INSTALL
IMPORT
SIG · ELASTICSEARCH-X-CO
E
elasticsearch-x-content
serializationjavav9.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

XContentParser
✓ org.elasticsearch.xcontent.XContentParser

Minimal example showing how to parse JSON using XContentParser.

import org.elasticsearch.xcontent.XContentParser; import org.elasticsearch.xcontent.XContentType; public class Example { public static void main(String[] args) throws Exception { String json = "{\"key\":\"value\"}"; XContentParser parser = XContentType.JSON.xContent().createParser(null, null, json); parser.nextToken(); System.out.println(parser.currentName()); } }
Debug
Known issues
breakingVersion 9.x is a major release with breaking changes; check migration guide.
fix
Review Elasticsearch 9.x migration documentation.
affects: >=9.0.0
Upgrade
Version history
9.3.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
Resources
elasticsearch-x-content — mvn dependency:get elasticsearch-x-content · libregistry