JsonBooleanTemplate

io.github.cakelier.tuples.space.JsonTemplate$.JsonBooleanTemplate
See theJsonBooleanTemplate companion object
sealed trait JsonBooleanTemplate extends JsonTemplate

A JsonTemplate that matches a boolean value.

A constant value can be specified to be matched against the given JsonElement. If not, only the type equality will be checked.

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 constant boolean value to be used for matching against the given JsonElement.

The constant boolean value to be used for matching against the given JsonElement.

Attributes