extractingJsonPathStringValue

open fun extractingJsonPathStringValue(expression: CharSequence, args: Array<Any>): AbstractCharSequenceAssert<out Any, String>

Extract the string 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 or does not result in a string