public class JsonParserUtil extends Object
| Constructor and Description |
|---|
JsonParserUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
getAsNullSafeInteger(com.google.gson.JsonObject object,
String memberName) |
static String |
getAsNullSafeString(com.google.gson.JsonObject object,
String memberName) |
static com.google.gson.JsonObject |
parseJson(String body) |
static String |
toNullSafeJsonString(com.google.gson.JsonObject object,
String memberName) |
public static com.google.gson.JsonObject parseJson(String body)
public static String getAsNullSafeString(com.google.gson.JsonObject object, String memberName)
public static Integer getAsNullSafeInteger(com.google.gson.JsonObject object, String memberName)
Copyright © 2016. All rights reserved.