net.minecraft.util

public class GsonHelper

alz
net.minecraft.util.GsonHelper
net.minecraft.class_3518
net.minecraft.util.JsonHelper
net.minecraft.src.C_181_
net.minecraft.util.ChatDeserializer

Field summary

Modifier and TypeField
private static final com.google.gson.Gson
a
GSON
field_15657
GSON
f_13765_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static boolean
a(com.google.gson.JsonObject arg0, String arg1)
isStringValue(com.google.gson.JsonObject arg0, String arg1)
method_15289(com.google.gson.JsonObject arg0, String arg1)
hasString(com.google.gson.JsonObject object, String element)
m_13813_(com.google.gson.JsonObject p_13814_, String p_13815_)
public static boolean
a(com.google.gson.JsonElement arg0)
isStringValue(com.google.gson.JsonElement arg0)
method_15286(com.google.gson.JsonElement arg0)
isString(com.google.gson.JsonElement element)
m_13803_(com.google.gson.JsonElement p_13804_)
public static boolean
b(com.google.gson.JsonObject arg0, String arg1)
isNumberValue(com.google.gson.JsonObject arg0, String arg1)
method_34920(com.google.gson.JsonObject arg0, String arg1)
hasNumber(com.google.gson.JsonObject object, String element)
m_144762_(com.google.gson.JsonObject p_144763_, String p_144764_)
public static boolean
b(com.google.gson.JsonElement arg0)
isNumberValue(com.google.gson.JsonElement arg0)
method_15275(com.google.gson.JsonElement arg0)
isNumber(com.google.gson.JsonElement element)
m_13872_(com.google.gson.JsonElement p_13873_)
public static boolean
c(com.google.gson.JsonObject arg0, String arg1)
isBooleanValue(com.google.gson.JsonObject arg0, String arg1)
method_15254(com.google.gson.JsonObject arg0, String arg1)
hasBoolean(com.google.gson.JsonObject object, String element)
m_13880_(com.google.gson.JsonObject p_13881_, String p_13882_)
public static boolean
c(com.google.gson.JsonElement arg0)
isBooleanValue(com.google.gson.JsonElement arg0)
method_34921(com.google.gson.JsonElement arg0)
isBoolean(com.google.gson.JsonElement object)
m_144767_(com.google.gson.JsonElement p_144768_)
public static boolean
d(com.google.gson.JsonObject arg0, String arg1)
isArrayNode(com.google.gson.JsonObject arg0, String arg1)
method_15264(com.google.gson.JsonObject arg0, String arg1)
hasArray(com.google.gson.JsonObject object, String element)
m_13885_(com.google.gson.JsonObject p_13886_, String p_13887_)
public static boolean
e(com.google.gson.JsonObject arg0, String arg1)
isObjectNode(com.google.gson.JsonObject arg0, String arg1)
method_34923(com.google.gson.JsonObject arg0, String arg1)
hasJsonObject(com.google.gson.JsonObject object, String element)
m_144772_(com.google.gson.JsonObject p_144773_, String p_144774_)
public static boolean
f(com.google.gson.JsonObject arg0, String arg1)
isValidPrimitive(com.google.gson.JsonObject arg0, String arg1)
method_15278(com.google.gson.JsonObject arg0, String arg1)
hasPrimitive(com.google.gson.JsonObject object, String element)
m_13894_(com.google.gson.JsonObject p_13895_, String p_13896_)
public static boolean
g(com.google.gson.JsonObject arg0, String arg1)
isValidNode(com.google.gson.JsonObject arg0, String arg1)
method_15294(com.google.gson.JsonObject arg0, String arg1)
hasElement(com.google.gson.JsonObject object, String element)
m_13900_(com.google.gson.JsonObject p_13901_, String p_13902_)
public static String
a(com.google.gson.JsonElement arg0, String arg1)
convertToString(com.google.gson.JsonElement arg0, String arg1)
method_15287(com.google.gson.JsonElement arg0, String arg1)
asString(com.google.gson.JsonElement element, String name)
m_13805_(com.google.gson.JsonElement p_13806_, String p_13807_)
public static String
h(com.google.gson.JsonObject arg0, String arg1)
getAsString(com.google.gson.JsonObject arg0, String arg1)
method_15265(com.google.gson.JsonObject arg0, String arg1)
getString(com.google.gson.JsonObject object, String element)
m_13906_(com.google.gson.JsonObject p_13907_, String p_13908_)
public static String
a(com.google.gson.JsonObject arg0, String arg1, String arg2)
getAsString(com.google.gson.JsonObject arg0, String arg1, String arg2)
method_15253(com.google.gson.JsonObject arg0, String arg1, String arg2)
getString(com.google.gson.JsonObject object, String element, String defaultStr)
m_13851_(com.google.gson.JsonObject p_13852_, String p_13853_, String p_13854_)
public static Item
b(com.google.gson.JsonElement arg0, String arg1)
convertToItem(com.google.gson.JsonElement arg0, String arg1)
method_15256(com.google.gson.JsonElement arg0, String arg1)
asItem(com.google.gson.JsonElement element, String name)
m_13874_(com.google.gson.JsonElement p_13875_, String p_13876_)
public static Item
i(com.google.gson.JsonObject arg0, String arg1)
getAsItem(com.google.gson.JsonObject arg0, String arg1)
method_15288(com.google.gson.JsonObject arg0, String arg1)
getItem(com.google.gson.JsonObject object, String key)
m_13909_(com.google.gson.JsonObject p_13910_, String p_13911_)
public static Item
a(com.google.gson.JsonObject arg0, String arg1, cat arg2)
getAsItem(com.google.gson.JsonObject arg0, String arg1, Item arg2)
method_34916(com.google.gson.JsonObject arg0, String arg1, class_1792 arg2)
getItem(com.google.gson.JsonObject object, String key, Item defaultItem)
m_144746_(com.google.gson.JsonObject p_144747_, String p_144748_, C_1381_ p_144749_)
public static boolean
c(com.google.gson.JsonElement arg0, String arg1)
convertToBoolean(com.google.gson.JsonElement arg0, String arg1)
method_15268(com.google.gson.JsonElement arg0, String arg1)
asBoolean(com.google.gson.JsonElement element, String name)
m_13877_(com.google.gson.JsonElement p_13878_, String p_13879_)
public static boolean
j(com.google.gson.JsonObject arg0, String arg1)
getAsBoolean(com.google.gson.JsonObject arg0, String arg1)
method_15270(com.google.gson.JsonObject arg0, String arg1)
getBoolean(com.google.gson.JsonObject object, String element)
m_13912_(com.google.gson.JsonObject p_13913_, String p_13914_)
public static boolean
a(com.google.gson.JsonObject arg0, String arg1, boolean arg2)
getAsBoolean(com.google.gson.JsonObject arg0, String arg1, boolean arg2)
method_15258(com.google.gson.JsonObject arg0, String arg1, boolean arg2)
getBoolean(com.google.gson.JsonObject object, String element, boolean defaultBoolean)
m_13855_(com.google.gson.JsonObject p_13856_, String p_13857_, boolean p_13858_)
public static double
d(com.google.gson.JsonElement arg0, String arg1)
convertToDouble(com.google.gson.JsonElement arg0, String arg1)
method_34922(com.google.gson.JsonElement arg0, String arg1)
asDouble(com.google.gson.JsonElement object, String name)
m_144769_(com.google.gson.JsonElement p_144770_, String p_144771_)
public static double
k(com.google.gson.JsonObject arg0, String arg1)
getAsDouble(com.google.gson.JsonObject arg0, String arg1)
method_34927(com.google.gson.JsonObject arg0, String arg1)
getDouble(com.google.gson.JsonObject object, String element)
m_144784_(com.google.gson.JsonObject p_144785_, String p_144786_)
public static double
a(com.google.gson.JsonObject arg0, String arg1, double arg2)
getAsDouble(com.google.gson.JsonObject arg0, String arg1, double arg2)
method_34915(com.google.gson.JsonObject arg0, String arg1, double arg2)
getDouble(com.google.gson.JsonObject object, String element, double defaultDouble)
m_144742_(com.google.gson.JsonObject p_144743_, String p_144744_, double p_144745_)
public static float
e(com.google.gson.JsonElement arg0, String arg1)
convertToFloat(com.google.gson.JsonElement arg0, String arg1)
method_15269(com.google.gson.JsonElement arg0, String arg1)
asFloat(com.google.gson.JsonElement element, String name)
m_13888_(com.google.gson.JsonElement p_13889_, String p_13890_)
public static float
l(com.google.gson.JsonObject arg0, String arg1)
getAsFloat(com.google.gson.JsonObject arg0, String arg1)
method_15259(com.google.gson.JsonObject arg0, String arg1)
getFloat(com.google.gson.JsonObject object, String element)
m_13915_(com.google.gson.JsonObject p_13916_, String p_13917_)
public static float
a(com.google.gson.JsonObject arg0, String arg1, float arg2)
getAsFloat(com.google.gson.JsonObject arg0, String arg1, float arg2)
method_15277(com.google.gson.JsonObject arg0, String arg1, float arg2)
getFloat(com.google.gson.JsonObject object, String element, float defaultFloat)
m_13820_(com.google.gson.JsonObject p_13821_, String p_13822_, float p_13823_)
public static long
f(com.google.gson.JsonElement arg0, String arg1)
convertToLong(com.google.gson.JsonElement arg0, String arg1)
method_15263(com.google.gson.JsonElement arg0, String arg1)
asLong(com.google.gson.JsonElement element, String name)
m_13891_(com.google.gson.JsonElement p_13892_, String p_13893_)
public static long
m(com.google.gson.JsonObject arg0, String arg1)
getAsLong(com.google.gson.JsonObject arg0, String arg1)
method_22449(com.google.gson.JsonObject arg0, String arg1)
getLong(com.google.gson.JsonObject object, String name)
m_13921_(com.google.gson.JsonObject p_13922_, String p_13923_)
public static long
a(com.google.gson.JsonObject arg0, String arg1, long arg2)
getAsLong(com.google.gson.JsonObject arg0, String arg1, long arg2)
method_15280(com.google.gson.JsonObject arg0, String arg1, long arg2)
getLong(com.google.gson.JsonObject object, String element, long defaultLong)
m_13828_(com.google.gson.JsonObject p_13829_, String p_13830_, long p_13831_)
public static int
g(com.google.gson.JsonElement arg0, String arg1)
convertToInt(com.google.gson.JsonElement arg0, String arg1)
method_15257(com.google.gson.JsonElement arg0, String arg1)
asInt(com.google.gson.JsonElement element, String name)
m_13897_(com.google.gson.JsonElement p_13898_, String p_13899_)
public static int
n(com.google.gson.JsonObject arg0, String arg1)
getAsInt(com.google.gson.JsonObject arg0, String arg1)
method_15260(com.google.gson.JsonObject arg0, String arg1)
getInt(com.google.gson.JsonObject object, String element)
m_13927_(com.google.gson.JsonObject p_13928_, String p_13929_)
public static int
a(com.google.gson.JsonObject arg0, String arg1, int arg2)
getAsInt(com.google.gson.JsonObject arg0, String arg1, int arg2)
method_15282(com.google.gson.JsonObject arg0, String arg1, int arg2)
getInt(com.google.gson.JsonObject object, String element, int defaultInt)
m_13824_(com.google.gson.JsonObject p_13825_, String p_13826_, int p_13827_)
public static byte
h(com.google.gson.JsonElement arg0, String arg1)
convertToByte(com.google.gson.JsonElement arg0, String arg1)
method_15293(com.google.gson.JsonElement arg0, String arg1)
asByte(com.google.gson.JsonElement element, String name)
m_13903_(com.google.gson.JsonElement p_13904_, String p_13905_)
public static byte
o(com.google.gson.JsonObject arg0, String arg1)
getAsByte(com.google.gson.JsonObject arg0, String arg1)
method_34929(com.google.gson.JsonObject arg0, String arg1)
getByte(com.google.gson.JsonObject object, String element)
m_144790_(com.google.gson.JsonObject p_144791_, String p_144792_)
public static byte
a(com.google.gson.JsonObject arg0, String arg1, byte arg2)
getAsByte(com.google.gson.JsonObject arg0, String arg1, byte arg2)
method_15271(com.google.gson.JsonObject arg0, String arg1, byte arg2)
getByte(com.google.gson.JsonObject object, String element, byte defaultByte)
m_13816_(com.google.gson.JsonObject p_13817_, String p_13818_, byte p_13819_)
public static char
i(com.google.gson.JsonElement arg0, String arg1)
convertToCharacter(com.google.gson.JsonElement arg0, String arg1)
method_34924(com.google.gson.JsonElement arg0, String arg1)
asChar(com.google.gson.JsonElement element, String name)
m_144775_(com.google.gson.JsonElement p_144776_, String p_144777_)
public static char
p(com.google.gson.JsonObject arg0, String arg1)
getAsCharacter(com.google.gson.JsonObject arg0, String arg1)
method_34930(com.google.gson.JsonObject arg0, String arg1)
getChar(com.google.gson.JsonObject object, String element)
m_144793_(com.google.gson.JsonObject p_144794_, String p_144795_)
public static char
a(com.google.gson.JsonObject arg0, String arg1, char arg2)
getAsCharacter(com.google.gson.JsonObject arg0, String arg1, char arg2)
method_34914(com.google.gson.JsonObject arg0, String arg1, char arg2)
getChar(com.google.gson.JsonObject object, String element, char defaultChar)
m_144738_(com.google.gson.JsonObject p_144739_, String p_144740_, char p_144741_)
public static BigDecimal
j(com.google.gson.JsonElement arg0, String arg1)
convertToBigDecimal(com.google.gson.JsonElement arg0, String arg1)
method_34925(com.google.gson.JsonElement arg0, String arg1)
asBigDecimal(com.google.gson.JsonElement element, String name)
m_144778_(com.google.gson.JsonElement p_144779_, String p_144780_)
public static BigDecimal
q(com.google.gson.JsonObject arg0, String arg1)
getAsBigDecimal(com.google.gson.JsonObject arg0, String arg1)
method_34931(com.google.gson.JsonObject arg0, String arg1)
getBigDecimal(com.google.gson.JsonObject object, String element)
m_144796_(com.google.gson.JsonObject p_144797_, String p_144798_)
public static BigDecimal
a(com.google.gson.JsonObject arg0, String arg1, BigDecimal arg2)
getAsBigDecimal(com.google.gson.JsonObject arg0, String arg1, BigDecimal arg2)
method_34917(com.google.gson.JsonObject arg0, String arg1, BigDecimal arg2)
getBigDecimal(com.google.gson.JsonObject object, String element, BigDecimal defaultBigDecimal)
m_144750_(com.google.gson.JsonObject p_144751_, String p_144752_, BigDecimal p_144753_)
public static BigInteger
k(com.google.gson.JsonElement arg0, String arg1)
convertToBigInteger(com.google.gson.JsonElement arg0, String arg1)
method_34926(com.google.gson.JsonElement arg0, String arg1)
asBigInteger(com.google.gson.JsonElement element, String name)
m_144781_(com.google.gson.JsonElement p_144782_, String p_144783_)
public static BigInteger
r(com.google.gson.JsonObject arg0, String arg1)
getAsBigInteger(com.google.gson.JsonObject arg0, String arg1)
method_34932(com.google.gson.JsonObject arg0, String arg1)
getBigInteger(com.google.gson.JsonObject object, String element)
m_144799_(com.google.gson.JsonObject p_144800_, String p_144801_)
public static BigInteger
a(com.google.gson.JsonObject arg0, String arg1, BigInteger arg2)
getAsBigInteger(com.google.gson.JsonObject arg0, String arg1, BigInteger arg2)
method_34918(com.google.gson.JsonObject arg0, String arg1, BigInteger arg2)
getBigInteger(com.google.gson.JsonObject object, String element, BigInteger defaultBigInteger)
m_144754_(com.google.gson.JsonObject p_144755_, String p_144756_, BigInteger p_144757_)
public static short
l(com.google.gson.JsonElement arg0, String arg1)
convertToShort(com.google.gson.JsonElement arg0, String arg1)
method_34928(com.google.gson.JsonElement arg0, String arg1)
asShort(com.google.gson.JsonElement element, String name)
m_144787_(com.google.gson.JsonElement p_144788_, String p_144789_)
public static short
s(com.google.gson.JsonObject arg0, String arg1)
getAsShort(com.google.gson.JsonObject arg0, String arg1)
method_34933(com.google.gson.JsonObject arg0, String arg1)
getShort(com.google.gson.JsonObject object, String element)
m_144802_(com.google.gson.JsonObject p_144803_, String p_144804_)
public static short
a(com.google.gson.JsonObject arg0, String arg1, short arg2)
getAsShort(com.google.gson.JsonObject arg0, String arg1, short arg2)
method_34919(com.google.gson.JsonObject arg0, String arg1, short arg2)
getShort(com.google.gson.JsonObject object, String element, short defaultShort)
m_144758_(com.google.gson.JsonObject p_144759_, String p_144760_, short p_144761_)
public static com.google.gson.JsonObject
m(com.google.gson.JsonElement arg0, String arg1)
convertToJsonObject(com.google.gson.JsonElement arg0, String arg1)
method_15295(com.google.gson.JsonElement arg0, String arg1)
asObject(com.google.gson.JsonElement element, String name)
m_13918_(com.google.gson.JsonElement p_13919_, String p_13920_)
public static com.google.gson.JsonObject
t(com.google.gson.JsonObject arg0, String arg1)
getAsJsonObject(com.google.gson.JsonObject arg0, String arg1)
method_15296(com.google.gson.JsonObject arg0, String arg1)
getObject(com.google.gson.JsonObject object, String element)
m_13930_(com.google.gson.JsonObject p_13931_, String p_13932_)
public static com.google.gson.JsonObject
a(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonObject arg2)
getAsJsonObject(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonObject arg2)
method_15281(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonObject arg2)
getObject(com.google.gson.JsonObject object, String element, com.google.gson.JsonObject defaultObject)
m_13841_(com.google.gson.JsonObject p_13842_, String p_13843_, com.google.gson.JsonObject p_13844_)
public static com.google.gson.JsonArray
n(com.google.gson.JsonElement arg0, String arg1)
convertToJsonArray(com.google.gson.JsonElement arg0, String arg1)
method_15252(com.google.gson.JsonElement arg0, String arg1)
asArray(com.google.gson.JsonElement element, String name)
m_13924_(com.google.gson.JsonElement p_13925_, String p_13926_)
public static com.google.gson.JsonArray
u(com.google.gson.JsonObject arg0, String arg1)
getAsJsonArray(com.google.gson.JsonObject arg0, String arg1)
method_15261(com.google.gson.JsonObject arg0, String arg1)
getArray(com.google.gson.JsonObject object, String element)
m_13933_(com.google.gson.JsonObject p_13934_, String p_13935_)
public static com.google.gson.JsonArray
a(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonArray arg2)
getAsJsonArray(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonArray arg2)
method_15292(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonArray arg2)
getArray(com.google.gson.JsonObject object, String name, com.google.gson.JsonArray defaultArray)
m_13832_(com.google.gson.JsonObject p_13833_, String p_13834_, com.google.gson.JsonArray p_13835_)
public static <T> T
a(com.google.gson.JsonElement arg0, String arg1, com.google.gson.JsonDeserializationContext arg2, Class<? extends T> arg3)
convertToObject(com.google.gson.JsonElement arg0, String arg1, com.google.gson.JsonDeserializationContext arg2, Class<? extends T> arg3)
method_15291(com.google.gson.JsonElement arg0, String arg1, com.google.gson.JsonDeserializationContext arg2, Class<? extends T> arg3)
deserialize(com.google.gson.JsonElement element, String name, com.google.gson.JsonDeserializationContext context, Class<? extends T> type)
m_13808_(com.google.gson.JsonElement p_13809_, String p_13810_, com.google.gson.JsonDeserializationContext p_13811_, Class<? extends T> p_13812_)
public static <T> T
a(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonDeserializationContext arg2, Class<? extends T> arg3)
getAsObject(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonDeserializationContext arg2, Class<? extends T> arg3)
method_15272(com.google.gson.JsonObject arg0, String arg1, com.google.gson.JsonDeserializationContext arg2, Class<? extends T> arg3)
deserialize(com.google.gson.JsonObject object, String element, com.google.gson.JsonDeserializationContext context, Class<? extends T> type)
m_13836_(com.google.gson.JsonObject p_13837_, String p_13838_, com.google.gson.JsonDeserializationContext p_13839_, Class<? extends T> p_13840_)
public static <T> T
a(com.google.gson.JsonObject arg0, String arg1, T arg2, com.google.gson.JsonDeserializationContext arg3, Class<? extends T> arg4)
getAsObject(com.google.gson.JsonObject arg0, String arg1, T arg2, com.google.gson.JsonDeserializationContext arg3, Class<? extends T> arg4)
method_15283(com.google.gson.JsonObject arg0, String arg1, T arg2, com.google.gson.JsonDeserializationContext arg3, Class<? extends T> arg4)
deserialize(com.google.gson.JsonObject object, String element, T defaultValue, com.google.gson.JsonDeserializationContext context, Class<? extends T> type)
m_13845_(com.google.gson.JsonObject p_13846_, String p_13847_, T p_13848_, com.google.gson.JsonDeserializationContext p_13849_, Class<? extends T> p_13850_)
public static String
d(com.google.gson.JsonElement arg0)
getType(com.google.gson.JsonElement arg0)
method_15266(com.google.gson.JsonElement arg0)
getType(com.google.gson.JsonElement element)
m_13883_(com.google.gson.JsonElement p_13884_)
public static <T> T
a(com.google.gson.Gson arg0, Reader arg1, Class<T> arg2, boolean arg3)
fromJson(com.google.gson.Gson arg0, Reader arg1, Class<T> arg2, boolean arg3)
method_15267(com.google.gson.Gson arg0, Reader arg1, Class<T> arg2, boolean arg3)
deserialize(com.google.gson.Gson gson, Reader reader, Class<T> type, boolean lenient)
m_13780_(com.google.gson.Gson p_13781_, Reader p_13782_, Class<T> p_13783_, boolean p_13784_)
public static <T> T
a(com.google.gson.Gson arg0, Reader arg1, com.google.gson.reflect.TypeToken<T> arg2, boolean arg3)
fromJson(com.google.gson.Gson arg0, Reader arg1, com.google.gson.reflect.TypeToken<T> arg2, boolean arg3)
method_15273(com.google.gson.Gson arg0, Reader arg1, com.google.gson.reflect.TypeToken<T> arg2, boolean arg3)
deserialize(com.google.gson.Gson gson, Reader reader, com.google.gson.reflect.TypeToken<T> typeToken, boolean lenient)
m_13771_(com.google.gson.Gson p_13772_, Reader p_13773_, com.google.gson.reflect.TypeToken<T> p_13774_, boolean p_13775_)
public static <T> T
a(com.google.gson.Gson arg0, String arg1, com.google.gson.reflect.TypeToken<T> arg2, boolean arg3)
fromJson(com.google.gson.Gson arg0, String arg1, com.google.gson.reflect.TypeToken<T> arg2, boolean arg3)
method_15262(com.google.gson.Gson arg0, String arg1, com.google.gson.reflect.TypeToken<T> arg2, boolean arg3)
deserialize(com.google.gson.Gson gson, String content, com.google.gson.reflect.TypeToken<T> typeToken, boolean lenient)
m_13789_(com.google.gson.Gson p_13790_, String p_13791_, com.google.gson.reflect.TypeToken<T> p_13792_, boolean p_13793_)
public static <T> T
a(com.google.gson.Gson arg0, String arg1, Class<T> arg2, boolean arg3)
fromJson(com.google.gson.Gson arg0, String arg1, Class<T> arg2, boolean arg3)
method_15279(com.google.gson.Gson arg0, String arg1, Class<T> arg2, boolean arg3)
deserialize(com.google.gson.Gson gson, String content, Class<T> clazz, boolean lenient)
m_13798_(com.google.gson.Gson p_13799_, String p_13800_, Class<T> p_13801_, boolean p_13802_)
public static <T> T
a(com.google.gson.Gson arg0, Reader arg1, com.google.gson.reflect.TypeToken<T> arg2)
fromJson(com.google.gson.Gson arg0, Reader arg1, com.google.gson.reflect.TypeToken<T> arg2)
method_15297(com.google.gson.Gson arg0, Reader arg1, com.google.gson.reflect.TypeToken<T> arg2)
deserialize(com.google.gson.Gson gson, Reader reader, com.google.gson.reflect.TypeToken<T> typeToken)
m_13767_(com.google.gson.Gson p_13768_, Reader p_13769_, com.google.gson.reflect.TypeToken<T> p_13770_)
public static <T> T
a(com.google.gson.Gson arg0, String arg1, com.google.gson.reflect.TypeToken<T> arg2)
fromJson(com.google.gson.Gson arg0, String arg1, com.google.gson.reflect.TypeToken<T> arg2)
method_15290(com.google.gson.Gson arg0, String arg1, com.google.gson.reflect.TypeToken<T> arg2)
deserialize(com.google.gson.Gson gson, String content, com.google.gson.reflect.TypeToken<T> typeToken)
m_13785_(com.google.gson.Gson p_13786_, String p_13787_, com.google.gson.reflect.TypeToken<T> p_13788_)
public static <T> T
a(com.google.gson.Gson arg0, Reader arg1, Class<T> arg2)
fromJson(com.google.gson.Gson arg0, Reader arg1, Class<T> arg2)
method_15276(com.google.gson.Gson arg0, Reader arg1, Class<T> arg2)
deserialize(com.google.gson.Gson gson, Reader reader, Class<T> clazz)
m_13776_(com.google.gson.Gson p_13777_, Reader p_13778_, Class<T> p_13779_)
public static <T> T
a(com.google.gson.Gson arg0, String arg1, Class<T> arg2)
fromJson(com.google.gson.Gson arg0, String arg1, Class<T> arg2)
method_15284(com.google.gson.Gson arg0, String arg1, Class<T> arg2)
deserialize(com.google.gson.Gson gson, String content, Class<T> clazz)
m_13794_(com.google.gson.Gson p_13795_, String p_13796_, Class<T> p_13797_)
public static com.google.gson.JsonObject
a(String arg0, boolean arg1)
parse(String arg0, boolean arg1)
method_15298(String arg0, boolean arg1)
deserialize(String content, boolean lenient)
m_13869_(String p_13870_, boolean p_13871_)
public static com.google.gson.JsonObject
a(Reader arg0, boolean arg1)
parse(Reader arg0, boolean arg1)
method_15274(Reader arg0, boolean arg1)
deserialize(Reader reader, boolean lenient)
m_13861_(Reader p_13862_, boolean p_13863_)
public static com.google.gson.JsonObject
a(String arg0)
parse(String arg0)
method_15285(String arg0)
deserialize(String content)
m_13864_(String p_13865_)
public static com.google.gson.JsonObject
a(Reader arg0)
parse(Reader arg0)
method_15255(Reader arg0)
deserialize(Reader reader)
m_13859_(Reader p_13860_)
public static com.google.gson.JsonArray
b(String arg0)
parseArray(String arg0)
method_43679(String arg0)
deserializeArray(String content)
m_216214_(String p_216215_)
public static com.google.gson.JsonArray
b(Reader arg0)
parseArray(Reader arg0)
method_37165(Reader arg0)
deserializeArray(Reader reader)
m_144765_(Reader p_144766_)
public static String
e(com.google.gson.JsonElement arg0)
toStableString(com.google.gson.JsonElement arg0)
method_43680(com.google.gson.JsonElement arg0)
toSortedString(com.google.gson.JsonElement json)
m_216216_(com.google.gson.JsonElement p_216217_)
public static void
a(com.google.gson.stream.JsonWriter arg0, com.google.gson.JsonElement arg1, Comparator<String> arg2)
writeValue(com.google.gson.stream.JsonWriter arg0, com.google.gson.JsonElement arg1, Comparator<String> arg2)
method_43677(com.google.gson.stream.JsonWriter arg0, com.google.gson.JsonElement arg1, Comparator<String> arg2)
writeSorted(com.google.gson.stream.JsonWriter writer, com.google.gson.JsonElement json, Comparator<String> comparator)
m_216207_(com.google.gson.stream.JsonWriter p_216208_, com.google.gson.JsonElement p_216209_, Comparator<String> p_216210_)
private static Collection<Map$Entry<String, com.google.gson.JsonElement>>
a(Collection<Map$Entry<String, com.google.gson.JsonElement>> arg0, Comparator<String> arg1)
sortByKeyIfNeeded(Collection<Map$Entry<String, com.google.gson.JsonElement>> arg0, Comparator<String> arg1)
method_43678(Collection<Map$Entry<String, com.google.gson.JsonElement>> arg0, Comparator<String> arg1)
sort(Collection<Map$Entry<String, com.google.gson.JsonElement>> entries, Comparator<String> comparator)
m_216211_(Collection<Map$Entry<String, com.google.gson.JsonElement>> p_216212_, Comparator<String> p_216213_)