public class ObjectValidator extends 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–2023 Apache Software Foundation. All rights reserved.