public abstract class JsonRpc2SchemaValidator extends Object
| Constructor and Description |
|---|
JsonRpc2SchemaValidator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertValid(com.fasterxml.jackson.databind.JsonNode tree)
Check whether a JSON node is a valid JsonRPC 2.0 object or not.
|
public static void assertValid(com.fasterxml.jackson.databind.JsonNode tree)
throws ParseException
tree - the JSON treeParseException - if response is null, empty, or invalidCopyright © 2017. All rights reserved.