public class GSONUtils extends Object
Constructor and Description |
---|
GSONUtils() |
Modifier and Type | Method and Description |
---|---|
static Object[] |
gsonJsonArrayToObjectArray(com.google.gson.JsonElement jsonElement)
Function to convert GSON array model to generic array model.
|
static Map |
gsonJsonObjectToMap(com.google.gson.JsonElement jsonElement)
Function to convert from GSON object model to generic map model.
|
public static Map gsonJsonObjectToMap(com.google.gson.JsonElement jsonElement)
jsonElement
- gson object to transformpublic static Object[] gsonJsonArrayToObjectArray(com.google.gson.JsonElement jsonElement)
jsonElement
- gson array to transformCopyright © 2020 WSO2. All rights reserved.