| Modifier and Type | Class and Description |
|---|---|
static class |
JsonConformer.Factory
Factory for JsonConformer.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEMA_FORMAT |
| Modifier and Type | Method and Description |
|---|---|
List<ConformanceIssue> |
checkConformance(com.google.gson.JsonObject value)
Validate the given value against the loaded schema.
|
void |
initialize()
Initialize should setup this instance to check conformance against a specific set of requirements, for example it
can load a specific JSON Schema into memory.
|
public static final String SCHEMA_FORMAT
public void initialize()
throws IOException
Conformerinitialize in interface Conformer<com.google.gson.JsonObject>IOExceptionpublic List<ConformanceIssue> checkConformance(com.google.gson.JsonObject value)
ConformercheckConformance in interface Conformer<com.google.gson.JsonObject>value - the value to validateCopyright © 2020 CDAP Licensed under the Apache License, Version 2.0.