ValidationConfig |
JsonValidationService.createValidationConfig() |
Creates a configuration for JsonParser or JsonReader with
validation functionality.
|
ValidationConfig |
ValidationConfig.setProperty(String name,
Object value) |
Assigns the new value to the specified configuration property.
|
ValidationConfig |
ValidationConfig.withDefaultValues(boolean usingDefaultValues) |
Specifies whether JSON instances will be filled with default values while
being validated or not.
|
ValidationConfig |
ValidationConfig.withProblemHandler(ProblemHandler handler) |
Specifies the handler of problems detected by the JSON validators.
|
ValidationConfig |
ValidationConfig.withProblemHandlerFactory(ProblemHandlerFactory handlerFactory) |
Specifies the factory of problem handlers.
|
ValidationConfig |
ValidationConfig.withProperties(Map<String,?> properties) |
Assigns set of configuration properties.
|
ValidationConfig |
ValidationConfig.withSchema(JsonSchema schema) |
Specifies the JSON schema used by the validators.
|