public class JsonProcessor extends Object
Modifier and Type | Method and Description |
---|---|
static String |
parseJson(String inputString,
String inputSchema)
This method parse a given JSON string according to the given schema.
|
public static String parseJson(String inputString, 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–2023 Apache Software Foundation. All rights reserved.