extractingJsonPathBooleanValue

open fun extractingJsonPathBooleanValue(expression: CharSequence, args: Array<Any>): AbstractBooleanAssert<out Any>

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