public class JsonProcessor
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
parseJson(java.lang.String inputString,
java.lang.String inputSchema)
This method parse a given JSON string according to the given schema.
|
public static java.lang.String parseJson(java.lang.String inputString, java.lang.String inputSchema) throws ValidatorException, ParserException
inputString
- input String.inputSchema
- input Schema.ValidatorException
- Exception occurs in validation process.ParserException
- Exception occurs in data type parsing.Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.