extractingJsonPathValue

open fun extractingJsonPathValue(expression: CharSequence, args: Array<Any>): AbstractObjectAssert<out Any, Any>

Extract the value at the given JSON path for further object assertions.

Return

a new assertion object whose object under test is the extracted item

Parameters

expression

the JsonPath expression

args

arguments to parameterize the JsonPath expression with, usingformatting specifiers defined in format

Throws

if the path is not valid