See: Description
Class | Description |
---|---|
And |
This predicate represents the logical AND combination of a number of other predicates.
|
Array |
A predicate to check if a JSON value is an array.
|
Bool |
A predicate to check if a value is a boolean.
|
Complex |
A predicate to check if a JSON value is a JSONObject or a JSONArray.
|
Content |
A predicate that checks if all elements of a complex JSON structure JSONObject or
JSONArray comply to another named predicate.
|
CustomPredicate |
A predicate that uses a Java implementation of CustomValidator.
|
CustomValidator |
The super class of all custom Java validators.
|
Decimal |
Check if a JSON value is a JSON decimal or not.
|
Enumeration |
This predicate checks if the JSON value is one of the set of values
specified by this rule.
|
False |
This rule always fails.
|
Int |
A predicate to check if a JSON value is an integer or not.
|
Length |
A bounds check on the number of elements in a
JSONArray , the length of a JSONString or the number of properties in a JSONObject . |
Let |
It is a convenience rule that lets you specify a list of global shared
validation rules in advance before using these later on.
|
Not |
This predicate is a negation of another one.
|
Nr |
A predicate to test if a
JSONValue is a number representation, in JSON there are two viz. |
Null | |
Object |
This predicate tests if a
JSONValue is a JSONObject or not. |
Or |
This predicate represents the logical OR combination of a number of other predicates.
|
Predicate |
A super class for our validators.
|
Properties |
Predicate to subject the properties of a
JSONObject to some tests. |
Properties.PropRule | |
Range |
A predicate to see if a
JSONNumber falls in the required range. |
Ref |
A rule that uses a named rule that was defined earlier.
|
Regexp |
Test if a
JSONString matches a regexp pattern. |
Simple |
This predicate tests whether a
JSONValue is a simple value, one of JSONString , JSONBoolean ,
JSONDecimal , JSONInteger or JSONNull . |
Str |
Test to see if a
JSONValue is a JSONString . |
Switch |
The switch validator is a convenience one.
|
Switch.SwitchCase | |
True |
This rule always succeeds.
|
Copyright © 2012. All Rights Reserved.