Modifier and Type | Method and Description |
---|---|
static java.lang.String |
JsonProcessor.parseJson(java.lang.String inputString,
java.lang.String inputSchema)
This method parse a given JSON string according to the given schema.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Boolean |
DataTypeConverter.convertToBoolean(java.lang.String value) |
static double |
DataTypeConverter.convertToDouble(java.lang.String value) |
static int |
DataTypeConverter.convertToInt(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
static com.google.gson.JsonArray |
ArrayValidator.validateArray(java.util.Map.Entry<java.lang.String,com.google.gson.JsonElement> input,
com.google.gson.JsonObject schema)
This method will validates an input array according to a given schema.
|
static com.google.gson.JsonPrimitive |
BooleanValidator.validateBoolean(com.google.gson.JsonObject inputObject,
java.lang.String value)
Validate a boolean string according to a given schema.
|
static com.google.gson.JsonPrimitive |
StringValidator.validateNominal(com.google.gson.JsonObject inputObject,
java.lang.String value)
Validate a given string against its schema.
|
static com.google.gson.JsonPrimitive |
NumericValidator.validateNumeric(com.google.gson.JsonObject inputObject,
java.lang.String value)
Take JSON schema, number as a string input and validate.
|
static com.google.gson.JsonObject |
ObjectValidator.validateObject(com.google.gson.JsonObject object,
com.google.gson.JsonObject schema)
This method will validate a given JSON input object according to
|
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.