JsonNotTemplate

io.github.cakelier.tuples.space.JsonTemplate$.JsonNotTemplate
See theJsonNotTemplate companion object
sealed trait JsonNotTemplate extends JsonTemplate

A JsonTemplate that matches a JsonElement if and only if its inner JsonTemplates does not match 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

Abstract fields

The JsonTemplate to be used by this template which should not match the given JsonElement.

The JsonTemplate to be used by this template which should not match the given JsonElement.

Attributes