Skip to content

MockMvcResultMatchers.jsonPath(String).value() should have a matching method to declare the expected type [SPR-16587] #21129

@spring-projects-issues

Description

@spring-projects-issues

Sam Brannen opened SPR-16587 and commented

#19067 was intended to introduce this support in JsonPathResultMatchers; however, it only introduced this support in JsonPathRequestMatchers and JsonPathExpectationsHelper.

This issue will therefore add this support to JsonPathResultMatchers as well.


Affects: 4.3.14, 5.0.4

Reference URL: https://stackoverflow.com/a/38013171/388980

Issue Links:

Referenced from: commits d57d914, 68463e2, 2c2ce55

Backported to: 4.3.15

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulestatus: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions