parse

open fun parse(@Nullable jsonValue: JsonValue): JsonMatcher

Parses a JsonValue object into a JsonMatcher.

Return

The parsed JsonMatcher.

Parameters

jsonValue

The predicate as a JsonValue.

Throws

If the JSON is invalid.