public class JSONUtil extends Object
UniqueId This function will generate a Unique Id| Modifier and Type | Field and Description |
|---|---|
protected static CloudFactory |
cloudFactory |
static String |
configBucket |
static SchemaConfigIntf |
schemaConfigIntf |
| Constructor and Description |
|---|
JSONUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertToJSON(String aData) |
int |
getDefError() |
static String |
getJSONData(Object aDataObject) |
static Object |
getObjectFromData(byte[] aJsonData,
Class<?> aClass) |
static void |
setSchemaConfigFile(byte[] aJsonData) |
static void |
setSchemaConfigFile(String aPath) |
public static SchemaConfigIntf schemaConfigIntf
protected static CloudFactory cloudFactory
public static String configBucket
public static void setSchemaConfigFile(String aPath) throws Exception
Exceptionpublic static void setSchemaConfigFile(byte[] aJsonData)
throws Exception
Exceptionpublic static Object getObjectFromData(byte[] aJsonData, Class<?> aClass) throws Exception
Exceptionpublic int getDefError()
Copyright © 2020. All rights reserved.