extractingJsonPathArrayValue

open fun <E> extractingJsonPathArrayValue(expression: CharSequence, args: Array<Any>): ListAssert<E>

Extract the array 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

<E>

element type

Throws

if the path is not valid or does not result in an array