extractBoolean

open fun extractBoolean(jsonPath: JsonPath<TRoot>): Boolean?

Extracts a nested Boolean according to the given jsonPath.

If any path component is not found, either missing or unexpected type, then null will be returned.

Return

The required Boolean if available; else null

Parameters

jsonPath

The JsonPath describing how to access the variable.