Registry / serialization / json-path

json-path

JSON →
library3.0.0javamavenunverified

Java library for querying and verifying JSON documents using JSONPath expressions.

<dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>3.0.0</version> </dependency>
INSTALL
IMPORT
SIG · JSON-PATH
J
json-path
serializationjavav3.0.0
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.

JsonPath
com.jayway.jsonpath.JsonPath

Reads a JSON field using JsonPath.

import com.jayway.jsonpath.JsonPath; public class Example { public static void main(String[] args) { String json = "{\"name\":\"John\",\"age\":30}"; String name = JsonPath.read(json, "$.name"); System.out.println(name); } }
Debug
Known issues
breakingJsonPath 3.0.0 changed default configuration; existing code may break if relying on previous defaults.
fix
Explicitly configure JsonPath.Configuration to match expected behavior.
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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