类 JsonUtils
java.lang.Object
com.mojang.realmsclient.util.JsonUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static boolean
getBooleanOr
(String pKey, com.google.gson.JsonObject pJson, boolean pDefaultValue) static Date
static int
static long
static <T> T
getRequired
(String pKey, com.google.gson.JsonObject pJson, Function<com.google.gson.JsonObject, T> pOutput) static String
getRequiredString
(String pKey, com.google.gson.JsonObject pJson) static String
getStringOr
(String pKey, com.google.gson.JsonObject pJson, String pDefaultValue) static UUID
-
构造器详细资料
-
JsonUtils
public JsonUtils()
-
-
方法详细资料
-
getRequired
-
getRequiredString
-
getStringOr
-
getUuidOr
-
getIntOr
-
getLongOr
-
getBooleanOr
public static boolean getBooleanOr(String pKey, com.google.gson.JsonObject pJson, boolean pDefaultValue) -
getDateOr
-