extractingJsonPathMapValue
open fun <K, V> extractingJsonPathMapValue(expression: CharSequence, args: Array<Any>): MapAssert<K, V>
Extract the map 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
<K>
key type
<V>
value type
Throws
if the path is not valid or does not result in a map