Interface Validator

All Known Implementing Classes:
And, Array, Bool, Complex, Content, CustomPredicate, CustomValidator, Decimal, Enumeration, False, Int, JSONValidator, Length, Let, Not, Nr, Null, Object, Or, Predicate, Properties, Range, Ref, Regexp, Simple, Str, Switch, True

public interface Validator
A validator inspects a JSONValue. If everything is fine the validator does nothing, and if an error is encounterd the validator throws an exception. Different validators can look at different aspects of JSONValues.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validate a JSONValue.