public class JsonValidationUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_SCHEMA_IDENTIFIER_ELEMENT |
static String |
JSON_V4_SCHEMA_IDENTIFIER |
| Constructor and Description |
|---|
JsonValidationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
validateMappingItem(String json) |
static void |
validateRequest(String json) |
static void |
validateRequestItem(String json) |
static void |
validateResponse(String json) |
public static final String JSON_V4_SCHEMA_IDENTIFIER
public static final String JSON_SCHEMA_IDENTIFIER_ELEMENT
public static void validateRequest(String json) throws IOException, com.github.fge.jsonschema.core.exceptions.ProcessingException
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic static void validateRequestItem(String json) throws IOException, com.github.fge.jsonschema.core.exceptions.ProcessingException
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic static void validateResponse(String json) throws IOException, com.github.fge.jsonschema.core.exceptions.ProcessingException
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic static void validateMappingItem(String json) throws IOException, com.github.fge.jsonschema.core.exceptions.ProcessingException
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionCopyright © 2018. All rights reserved.