com.mojang.realmsclient.util

public class JsonUtils

fnk
com.mojang.realmsclient.util.JsonUtils
net.minecraft.class_4431
net.minecraft.unmapped.C_krvbracn
net.minecraft.client.realms.util.JsonUtils
net.minecraft.client.realms.util.JsonUtils

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <T> T
a(String arg0, com.google.gson.JsonObject arg1, Function<com.google.gson.JsonObject, T> arg2)
getRequired(String arg0, com.google.gson.JsonObject arg1, Function<com.google.gson.JsonObject, T> arg2)
method_49596(String arg0, com.google.gson.JsonObject arg1, Function<com.google.gson.JsonObject, T> arg2)
m_okgyedze(String arg0, com.google.gson.JsonObject arg1, Function<com.google.gson.JsonObject, T> arg2)
get(String key, com.google.gson.JsonObject node, Function<com.google.gson.JsonObject, T> deserializer)
get(String key, com.google.gson.JsonObject node, Function<com.google.gson.JsonObject, T> deserializer)
public static <T> T
b(String arg0, com.google.gson.JsonObject arg1, Function<com.google.gson.JsonObject, T> arg2)
getOptional(String arg0, com.google.gson.JsonObject arg1, Function<com.google.gson.JsonObject, T> arg2)
method_54115(String arg0, com.google.gson.JsonObject arg1, Function<com.google.gson.JsonObject, T> arg2)
m_fkizhwfx(String arg0, com.google.gson.JsonObject arg1, Function<com.google.gson.JsonObject, T> arg2)
getNullable(String key, com.google.gson.JsonObject node, Function<com.google.gson.JsonObject, T> deserializer)
getNullable(String property, com.google.gson.JsonObject jsonObject, Function<com.google.gson.JsonObject, T> function)
public static String
a(String arg0, com.google.gson.JsonObject arg1)
getRequiredString(String arg0, com.google.gson.JsonObject arg1)
method_49594(String arg0, com.google.gson.JsonObject arg1)
m_kyiyjhxb(String arg0, com.google.gson.JsonObject arg1)
getString(String key, com.google.gson.JsonObject node)
getStringOrThrow(String key, com.google.gson.JsonObject node)
public static String
a(String arg0, com.google.gson.JsonObject arg1, String arg2)
getRequiredStringOr(String arg0, com.google.gson.JsonObject arg1, String arg2)
method_54577(String arg0, com.google.gson.JsonObject arg1, String arg2)
m_gfjnsgei(String arg0, com.google.gson.JsonObject arg1, String arg2)
getStringOr(String key, com.google.gson.JsonObject node, String defaultValue)
getStringOr(String property, com.google.gson.JsonObject jsonObject, String defaultValue)
public static String
b(String arg0, com.google.gson.JsonObject arg1, String arg2)
getStringOr(String arg0, com.google.gson.JsonObject arg1, String arg2)
method_21547(String arg0, com.google.gson.JsonObject arg1, String arg2)
m_enbmhdlx(String arg0, com.google.gson.JsonObject arg1, String arg2)
getNullableStringOr(String key, com.google.gson.JsonObject node, String defaultValue)
getNullableStringOr(String key, com.google.gson.JsonObject node, String defaultValue)
public static UUID
a(String arg0, com.google.gson.JsonObject arg1, UUID arg2)
getUuidOr(String arg0, com.google.gson.JsonObject arg1, UUID arg2)
method_49595(String arg0, com.google.gson.JsonObject arg1, UUID arg2)
m_aanfddtg(String arg0, com.google.gson.JsonObject arg1, UUID arg2)
getUuidOr(String key, com.google.gson.JsonObject node, UUID defaultValue)
getUuidOr(String key, com.google.gson.JsonObject node, UUID uuid)
public static int
a(String arg0, com.google.gson.JsonObject arg1, int arg2)
getIntOr(String arg0, com.google.gson.JsonObject arg1, int arg2)
method_21545(String arg0, com.google.gson.JsonObject arg1, int arg2)
m_fmirizpg(String arg0, com.google.gson.JsonObject arg1, int arg2)
getIntOr(String key, com.google.gson.JsonObject node, int defaultValue)
getIntOr(String key, com.google.gson.JsonObject node, int defaultValue)
public static long
a(String arg0, com.google.gson.JsonObject arg1, long arg2)
getLongOr(String arg0, com.google.gson.JsonObject arg1, long arg2)
method_21546(String arg0, com.google.gson.JsonObject arg1, long arg2)
m_rnnqdazn(String arg0, com.google.gson.JsonObject arg1, long arg2)
getLongOr(String key, com.google.gson.JsonObject node, long defaultValue)
getLongOr(String key, com.google.gson.JsonObject node, long defaultValue)
public static boolean
a(String arg0, com.google.gson.JsonObject arg1, boolean arg2)
getBooleanOr(String arg0, com.google.gson.JsonObject arg1, boolean arg2)
method_21548(String arg0, com.google.gson.JsonObject arg1, boolean arg2)
m_iwgbxfjl(String arg0, com.google.gson.JsonObject arg1, boolean arg2)
getBooleanOr(String key, com.google.gson.JsonObject node, boolean defaultValue)
getBooleanOr(String key, com.google.gson.JsonObject node, boolean defaultValue)
public static Date
b(String arg0, com.google.gson.JsonObject arg1)
getDateOr(String arg0, com.google.gson.JsonObject arg1)
method_21544(String arg0, com.google.gson.JsonObject arg1)
m_joupgfzs(String arg0, com.google.gson.JsonObject arg1)
getDateOr(String key, com.google.gson.JsonObject node)
getDateOr(String key, com.google.gson.JsonObject node)