Registry / serialization / jmespath-java

jmespath-java

JSON →
library1.12.779javamavenunverified

Java implementation of the JMESPath JSON query language for filtering and transforming JSON data.

<dependency> <groupId>com.amazonaws</groupId> <artifactId>jmespath-java</artifactId> <version>1.12.779</version> </dependency>
INSTALL
IMPORT
SIG · JMESPATH-JAVA
J
jmespath-java
serializationjavav1.12.779
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.

JmesPathExpression
com.amazonaws.jmespath.JmesPathExpression

Evaluate a JMESPath expression on a JSON object.

import com.amazonaws.jmespath.JmesPathExpression; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; public class QuickStart { public static void main(String[] args) throws Exception { String json = "{\"a\": {\"b\": \"c\"}}"; JsonNode node = new ObjectMapper().readTree(json); JmesPathExpression expr = new JmesPathExpression("a.b"); System.out.println(expr.search(node)); } }
Debug
Known issues
gotchaThis library is part of the AWS SDK for Java; consider using the standalone jmespath-java artifact for non-AWS projects.
fix
Use the artifact com.amazonaws:jmespath-java directly without the full AWS SDK.
affects: *
Upgrade
Version history
1.12.779latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jmespath-java — mvn dependency:get jmespath-java · libregistry