-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Upgrade to Json Path 3.0.0 #50786
Copy link
Copy link
Open
Labels
status: team-onlyAn issue that's best handled directly by the team rather than a community contribution.An issue that's best handled directly by the team rather than a community contribution.type: dependency-upgradeA dependency upgradeA dependency upgrade
Milestone
Description
Metadata
Metadata
Assignees
Labels
status: team-onlyAn issue that's best handled directly by the team rather than a community contribution.An issue that's best handled directly by the team rather than a community contribution.type: dependency-upgradeA dependency upgradeA dependency upgrade
Type
Fields
Give feedbackNo fields configured for issues without a type.
spring-boot-starter-testdepends oncom.jayway.jsonpath:json-path, with the managed version for Spring Boot 4.1 being2.10.0.Support for Jackson 3 was introduced in json-path 3.0.0, notably with the addition of
Jackson3MappingProviderandJackson3JsonProvider, to be used in the json path configuration:This can then be used with JsonPathExpectationsHelper when constructing custom
ResultMatchers:Jackson 3 support is necessary due to limitations on the default
JsonProvider(JsonSmartJsonProvider, see json-path/JsonPath#918, netplex/json-smart-v2#78).Of course in the meantime we can just explicitly refer to the updated version: