Package org.javalite.json
Class JSONValidator
java.lang.Object
org.javalite.validation.ValidatorAdapter
org.javalite.json.JSONValidator
- All Implemented Interfaces:
Validator
- Direct Known Subclasses:
BooleanValidator
,ListValidator
,MapValidator
Superclass for JSON validators.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate(Validatable validatable)
Called by framework when validation is requiredabstract void
validateJSONBase(JSONBase jsonBase)
Methods inherited from class org.javalite.validation.ValidatorAdapter
formatMessage, getMessage, pinMessage, setMessage
-
Constructor Details
-
JSONValidator
public JSONValidator()
-
-
Method Details
-
validate
Description copied from interface:Validator
Called by framework when validation is required- Parameters:
validatable
- map being validated.
-
validateJSONBase
-