Class JSONValidator

All Implemented Interfaces:
Validator
Direct Known Subclasses:
BooleanValidator, ListValidator, MapValidator

public abstract class JSONValidator extends ValidatorAdapter
Superclass for JSON validators.
  • Constructor Details

    • JSONValidator

      public JSONValidator()
  • Method Details

    • validate

      public final void validate(Validatable validatable)
      Description copied from interface: Validator
      Called by framework when validation is required
      Parameters:
      validatable - map being validated.
    • validateJSONBase

      public abstract void validateJSONBase(JSONBase jsonBase)