public class ObjectValidator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static com.google.gson.JsonObject |
validateObject(com.google.gson.JsonObject object,
com.google.gson.JsonObject schema)
This method will validate a given JSON input object according to
|
public static com.google.gson.JsonObject validateObject(com.google.gson.JsonObject object,
com.google.gson.JsonObject schema)
throws ParserException,
ValidatorException
object - JSON Objectschema - JSON schemaParserException - Exception occurred in data type conversions.ValidatorException - Exception occurred in schema validations.Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.