toJson
returns Map
- Integer validation rules
isNeative
,isPositive
,isEven
andisOdd
- Integer validation functions
isLessThan
,isGreaterThan
andisInRange
ObjectErrors.splitKey
static method to split key into segments- ObjectError methods now recursively split key into segments
ObjectErrors.hasErrors
method to check if there are any errorsObjectErrors.clear
to clear all errors
ObjectErrors.asMap
not returns null if there are no errors
- Total rewrite
validateValue
to validate individual field with validatorsObjectErrors
for object and array validationValidationError
to support client side translation of error messages
- Basic
String
,int
,double
andnum
validators