Unique

net.reactivecore.cjs.validator.array.SimpleValidator$.Unique$
case object Unique extends SimpleValidator

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Validator
class Object
trait Matchable
class Any
Self type
Unique.type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Inherited methods

def children: Vector[Validator]

Children Validators

Children Validators

Attributes

Inherited from:
Validator
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def precedence: Int

Precedence of this operation (for stateful validators), when using Sequence

Precedence of this operation (for stateful validators), when using Sequence

Attributes

Inherited from:
Validator
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Touches the validator, possible state modifying (e.g. adding dynamic anchors)

Touches the validator, possible state modifying (e.g. adding dynamic anchors)

Attributes

Inherited from:
Validator
override def validate(array: Vector[Json]): ValidationResult

Attributes

Definition Classes
Inherited from:
SimpleValidator
override def validateArrayStateful(state: ValidationState, array: Vector[Json])(implicit context: ValidationContext): (ValidationState, ValidationResult)

Attributes

Definition Classes
Inherited from:
StatelessArrayValidator
final override def validateStateful(state: ValidationState, json: Json)(implicit context: ValidationContext): (ValidationState, ValidationResult)

Validate JSON, returns violations.

Validate JSON, returns violations.

Attributes

Definition Classes
Inherited from:
ArrayValidator

Validate, but skip evaluated

Validate, but skip evaluated

Attributes

Inherited from:
Validator
def wideForeach(f: Validator => Unit): Unit

Depth first foreach.

Depth first foreach.

Attributes

Inherited from:
Validator

Implicits

Implicits