JsonAnyOfTemplate

io.github.cakelier.tuples.space.JsonTemplate$.JsonMultipleTemplate$.JsonAnyOfTemplate
See theJsonAnyOfTemplate companion object

A JsonTemplate that matches a JsonElement if and only if any of its inner JsonTemplates matches against the element itself.

Attributes

Companion
object
Graph
Supertypes
trait JsonTemplate
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def matches(value: JsonElement): Boolean

Returns whether or not the given JsonElement matches this template.

Returns whether or not the given JsonElement matches this template.

Value parameters

value

the JsonElement to match

Attributes

Returns

whether or not the given JsonElement matches

Inherited from:
JsonTemplate

Inherited fields

The JsonTemplates to be used by this template to match the given JsonElement.

The JsonTemplates to be used by this template to match the given JsonElement.

Attributes

Inherited from:
JsonMultipleTemplate