| Class | Description |
|---|---|
| JsonSchema |
The main validation class
|
| JsonSchemaFactory |
Factory to build JSON Schema validating instances
|
| JsonSchemaFactory.Builder |
Builder class for a
JsonSchemaFactory |
| Enum | Description |
|---|---|
| ValidationFeature |
Validation features
|
| Exception | Description |
|---|---|
| JsonSchemaException |
Generic exception thrown when the validation cannot proceed normally
|
This package contains all classes you need to validate your data.
Start by building a JsonSchemaFactory, then use it to build
JsonSchema instances (one per
schema).
JsonSchema is thread-safe and
immutable (and concurrent-friendly), you can therefore use a single
instance to validate any amount of data. Typically, if you use a single
schema, you can make that one instante private static final.
You can also customize your schema factory (via the builder) in several ways:
Copyright © 2012. All Rights Reserved.