Package com.mojang.realmsclient.util
Class JsonUtils
java.lang.Object
com.mojang.realmsclient.util.JsonUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
getBooleanOr
(String p_90166_, com.google.gson.JsonObject p_90167_, boolean p_90168_) static Date
static int
static long
static <T> T
getOptional
(String p_304642_, com.google.gson.JsonObject p_304910_, Function<com.google.gson.JsonObject, T> p_304507_) static <T> T
getRequired
(String p_275573_, com.google.gson.JsonObject p_275650_, Function<com.google.gson.JsonObject, T> p_275655_) static String
getRequiredString
(String p_275692_, com.google.gson.JsonObject p_275706_) static String
getRequiredStringOr
(String p_307555_, com.google.gson.JsonObject p_307369_, String p_307525_) static String
getStringOr
(String p_90162_, com.google.gson.JsonObject p_90163_, String p_90164_) static UUID
-
Constructor Details
-
JsonUtils
public JsonUtils()
-
-
Method Details
-
getRequired
-
getOptional
-
getRequiredString
-
getRequiredStringOr
-
getStringOr
-
getUuidOr
-
getIntOr
-
getLongOr
-
getBooleanOr
public static boolean getBooleanOr(String p_90166_, com.google.gson.JsonObject p_90167_, boolean p_90168_) -
getDateOr
-