public interface JsonValidator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AT_ROOT |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ValidationMessage> |
validate(com.google.gson.JsonElement rootNode)
Validate the given root JsonElement, starting at the root of the data path.
|
java.util.Set<ValidationMessage> |
validate(com.google.gson.JsonElement node,
com.google.gson.JsonElement rootNode,
java.lang.String at)
Validate the given JsonElement, the given node is the child node of the root node at given
data path.
|
static final java.lang.String AT_ROOT
java.util.Set<ValidationMessage> validate(com.google.gson.JsonElement rootNode)
rootNode
- JsonElementjava.util.Set<ValidationMessage> validate(com.google.gson.JsonElement node, com.google.gson.JsonElement rootNode, java.lang.String at)
node
- JsonElementrootNode
- JsonElementat
- String