JsonTupleTemplate

io.github.cakelier.tuples.space.JsonTemplate$.JsonTupleTemplate$
See theJsonTupleTemplate companion trait

Companion object to the JsonTupleTemplate trait, containing its implementation.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(itemsTemplates: Seq[JsonTemplate], additionalItems: Boolean): JsonTupleTemplate

Factory method for building a new instance of the JsonTupleTemplate trait.

Factory method for building a new instance of the JsonTupleTemplate trait.

Value parameters

additionalItems

whether or not the JsonTuple to be matched against is allowed to have more JsonElements than the JsonTemplates contained in this template

itemsTemplates

the JsonTemplates to be used to match against the JsonElements of the JsonTuple in their corresponding positions

Attributes

Returns

a new instance of the JsonTupleTemplate trait