extract

open override fun extract(jsonPath: JsonPath<JsonPath.Component.Key>): DataItem?

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

Parameters

jsonPath

The JsonPath describing how to access the variable.