extractString

open fun extractString(jsonPath: JsonPath<TRoot>): String?

Extracts a nested String 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 String if available; else null

Parameters

jsonPath

The JsonPath describing how to access the variable.