ObjectValidator

net.reactivecore.cjs.validator.obj.ObjectValidator

Attributes

Graph
Supertypes
trait Validator
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def validateStatefulObject(state: ValidationState, json: JsonObject)(implicit context: ValidationContext): (ValidationState, ValidationResult)

Concrete methods

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 methods

def children: Vector[Validator]

Children Validators

Children Validators

Attributes

Inherited from:
Validator
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

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

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