类 JsonHelper
- java.lang.Object
-
- net.minecraft.util.JsonHelper
-
public class JsonHelper extends Object
- Mappings:
Namespace Name official agmintermediary net/minecraft/class_3518named net/minecraft/util/JsonHelper
-
-
构造器概要
构造器 构造器 说明 JsonHelper()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static JsonArrayasArray(JsonElement element, String name)static BigDecimalasBigDecimal(JsonElement element, String name)static BigIntegerasBigInteger(JsonElement element, String name)static booleanasBoolean(JsonElement element, String name)static byteasByte(JsonElement element, String name)static charasChar(JsonElement element, String name)static doubleasDouble(JsonElement object, String name)static floatasFloat(JsonElement element, String name)static intasInt(JsonElement element, String name)static ItemasItem(JsonElement element, String name)static longasLong(JsonElement element, String name)static JsonObjectasObject(JsonElement element, String name)static shortasShort(JsonElement element, String name)static StringasString(JsonElement element, String name)static <T> Tdeserialize(@Nullable JsonElement element, String name, JsonDeserializationContext context, Class<? extends T> type)static <T> Tdeserialize(Gson gson, Reader reader, TypeToken<T> typeToken)static <T> Tdeserialize(Gson gson, Reader reader, TypeToken<T> typeToken, boolean lenient)static <T> Tdeserialize(Gson gson, Reader reader, Class<T> class2)static <T> Tdeserialize(Gson gson, Reader reader, Class<T> type, boolean lenient)static <T> Tdeserialize(Gson gson, String content, TypeToken<T> typeToken)static <T> Tdeserialize(Gson gson, String content, TypeToken<T> typeToken, boolean lenient)static <T> Tdeserialize(Gson gson, String content, Class<T> class2)static <T> Tdeserialize(Gson gson, String content, Class<T> class2, boolean lenient)static <T> Tdeserialize(JsonObject object, String element, JsonDeserializationContext context, Class<? extends T> type)static <T> Tdeserialize(JsonObject object, String element, T defaultValue, JsonDeserializationContext context, Class<? extends T> type)static JsonObjectdeserialize(Reader reader)static JsonObjectdeserialize(Reader reader, boolean lenient)static JsonObjectdeserialize(String content)static JsonObjectdeserialize(String content, boolean lenient)static JsonArraygetArray(JsonObject object, String element)static @Nullable JsonArraygetArray(JsonObject object, String name, @Nullable JsonArray defaultArray)static BigDecimalgetBigDecimal(JsonObject object, String element)static BigDecimalgetBigDecimal(JsonObject object, String element, BigDecimal defaultBigDecimal)static BigIntegergetBigInteger(JsonObject object, String element)static BigIntegergetBigInteger(JsonObject object, String element, BigInteger defaultBigInteger)static booleangetBoolean(JsonObject object, String element)static booleangetBoolean(JsonObject object, String element, boolean defaultBoolean)static bytegetByte(JsonObject object, String element)static bytegetByte(JsonObject object, String element, byte defaultByte)static chargetChar(JsonObject object, String element)static chargetChar(JsonObject object, String element, char defaultChar)static doublegetDouble(JsonObject object, String element)static doublegetDouble(JsonObject object, String element, double defaultDouble)static floatgetFloat(JsonObject object, String element)static floatgetFloat(JsonObject object, String element, float defaultFloat)static intgetInt(JsonObject object, String element)static intgetInt(JsonObject object, String element, int defaultInt)static ItemgetItem(JsonObject object, String key)static ItemgetItem(JsonObject object, String key, Item defaultItem)static longgetLong(JsonObject object, String name)static longgetLong(JsonObject object, String element, long defaultLong)static JsonObjectgetObject(JsonObject object, String element)static JsonObjectgetObject(JsonObject object, String element, JsonObject defaultObject)static shortgetShort(JsonObject object, String element)static shortgetShort(JsonObject object, String element, short defaultShort)static StringgetString(JsonObject object, String element)static StringgetString(JsonObject object, String element, String defaultStr)static StringgetType(JsonElement element)static booleanhasArray(JsonObject object, String element)static booleanhasBoolean(JsonObject object, String element)static booleanhasElement(JsonObject object, String lement)static booleanhasJsonObject(JsonObject object, String element)static booleanhasNumber(JsonObject object, String element)static booleanhasPrimitive(JsonObject object, String element)static booleanhasString(JsonObject object, String element)static booleanisBoolean(JsonElement object)static booleanisNumber(JsonElement element)static booleanisString(JsonElement element)
-
-
-
字段详细资料
-
GSON
private static final Gson GSON
- Mappings:
Namespace Name Mixin selector official aLagm;a:Lcom/google/gson/Gson;intermediary field_15657Lnet/minecraft/class_3518;field_15657:Lcom/google/gson/Gson;named GSONLnet/minecraft/util/JsonHelper;GSON:Lcom/google/gson/Gson;
-
-
方法详细资料
-
hasString
public static boolean hasString(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;)Zintermediary method_15289Lnet/minecraft/class_3518;method_15289(Lcom/google/gson/JsonObject;Ljava/lang/String;)Znamed hasStringLnet/minecraft/util/JsonHelper;hasString(Lcom/google/gson/JsonObject;Ljava/lang/String;)Z
-
isString
public static boolean isString(JsonElement element)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonElement;)Zintermediary method_15286Lnet/minecraft/class_3518;method_15286(Lcom/google/gson/JsonElement;)Znamed isStringLnet/minecraft/util/JsonHelper;isString(Lcom/google/gson/JsonElement;)Z
-
hasNumber
public static boolean hasNumber(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official bLagm;b(Lcom/google/gson/JsonObject;Ljava/lang/String;)Zintermediary method_34920Lnet/minecraft/class_3518;method_34920(Lcom/google/gson/JsonObject;Ljava/lang/String;)Znamed hasNumberLnet/minecraft/util/JsonHelper;hasNumber(Lcom/google/gson/JsonObject;Ljava/lang/String;)Z
-
isNumber
public static boolean isNumber(JsonElement element)
- Mappings:
Namespace Name Mixin selector official bLagm;b(Lcom/google/gson/JsonElement;)Zintermediary method_15275Lnet/minecraft/class_3518;method_15275(Lcom/google/gson/JsonElement;)Znamed isNumberLnet/minecraft/util/JsonHelper;isNumber(Lcom/google/gson/JsonElement;)Z
-
hasBoolean
public static boolean hasBoolean(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official cLagm;c(Lcom/google/gson/JsonObject;Ljava/lang/String;)Zintermediary method_15254Lnet/minecraft/class_3518;method_15254(Lcom/google/gson/JsonObject;Ljava/lang/String;)Znamed hasBooleanLnet/minecraft/util/JsonHelper;hasBoolean(Lcom/google/gson/JsonObject;Ljava/lang/String;)Z
-
isBoolean
public static boolean isBoolean(JsonElement object)
- Mappings:
Namespace Name Mixin selector official cLagm;c(Lcom/google/gson/JsonElement;)Zintermediary method_34921Lnet/minecraft/class_3518;method_34921(Lcom/google/gson/JsonElement;)Znamed isBooleanLnet/minecraft/util/JsonHelper;isBoolean(Lcom/google/gson/JsonElement;)Z
-
hasArray
public static boolean hasArray(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official dLagm;d(Lcom/google/gson/JsonObject;Ljava/lang/String;)Zintermediary method_15264Lnet/minecraft/class_3518;method_15264(Lcom/google/gson/JsonObject;Ljava/lang/String;)Znamed hasArrayLnet/minecraft/util/JsonHelper;hasArray(Lcom/google/gson/JsonObject;Ljava/lang/String;)Z
-
hasJsonObject
public static boolean hasJsonObject(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official eLagm;e(Lcom/google/gson/JsonObject;Ljava/lang/String;)Zintermediary method_34923Lnet/minecraft/class_3518;method_34923(Lcom/google/gson/JsonObject;Ljava/lang/String;)Znamed hasJsonObjectLnet/minecraft/util/JsonHelper;hasJsonObject(Lcom/google/gson/JsonObject;Ljava/lang/String;)Z
-
hasPrimitive
public static boolean hasPrimitive(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official fLagm;f(Lcom/google/gson/JsonObject;Ljava/lang/String;)Zintermediary method_15278Lnet/minecraft/class_3518;method_15278(Lcom/google/gson/JsonObject;Ljava/lang/String;)Znamed hasPrimitiveLnet/minecraft/util/JsonHelper;hasPrimitive(Lcom/google/gson/JsonObject;Ljava/lang/String;)Z
-
hasElement
public static boolean hasElement(JsonObject object, String lement)
- Mappings:
Namespace Name Mixin selector official gLagm;g(Lcom/google/gson/JsonObject;Ljava/lang/String;)Zintermediary method_15294Lnet/minecraft/class_3518;method_15294(Lcom/google/gson/JsonObject;Ljava/lang/String;)Znamed hasElementLnet/minecraft/util/JsonHelper;hasElement(Lcom/google/gson/JsonObject;Ljava/lang/String;)Z
-
asString
public static String asString(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/lang/String;intermediary method_15287Lnet/minecraft/class_3518;method_15287(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/lang/String;named asStringLnet/minecraft/util/JsonHelper;asString(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/lang/String;
-
getString
public static String getString(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official hLagm;h(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/String;intermediary method_15265Lnet/minecraft/class_3518;method_15265(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/String;named getStringLnet/minecraft/util/JsonHelper;getString(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/String;
-
getString
public static String getString(JsonObject object, String element, String defaultStr)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;intermediary method_15253Lnet/minecraft/class_3518;method_15253(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;named getStringLnet/minecraft/util/JsonHelper;getString(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
-
asItem
public static Item asItem(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official bLagm;b(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lbpn;intermediary method_15256Lnet/minecraft/class_3518;method_15256(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lnet/minecraft/class_1792;named asItemLnet/minecraft/util/JsonHelper;asItem(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lnet/minecraft/item/Item;
-
getItem
public static Item getItem(JsonObject object, String key)
- Mappings:
Namespace Name Mixin selector official iLagm;i(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lbpn;intermediary method_15288Lnet/minecraft/class_3518;method_15288(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lnet/minecraft/class_1792;named getItemLnet/minecraft/util/JsonHelper;getItem(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lnet/minecraft/item/Item;
-
getItem
public static Item getItem(JsonObject object, String key, Item defaultItem)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Lbpn;)Lbpn;intermediary method_34916Lnet/minecraft/class_3518;method_34916(Lcom/google/gson/JsonObject;Ljava/lang/String;Lnet/minecraft/class_1792;)Lnet/minecraft/class_1792;named getItemLnet/minecraft/util/JsonHelper;getItem(Lcom/google/gson/JsonObject;Ljava/lang/String;Lnet/minecraft/item/Item;)Lnet/minecraft/item/Item;
-
asBoolean
public static boolean asBoolean(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official cLagm;c(Lcom/google/gson/JsonElement;Ljava/lang/String;)Zintermediary method_15268Lnet/minecraft/class_3518;method_15268(Lcom/google/gson/JsonElement;Ljava/lang/String;)Znamed asBooleanLnet/minecraft/util/JsonHelper;asBoolean(Lcom/google/gson/JsonElement;Ljava/lang/String;)Z
-
getBoolean
public static boolean getBoolean(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official jLagm;j(Lcom/google/gson/JsonObject;Ljava/lang/String;)Zintermediary method_15270Lnet/minecraft/class_3518;method_15270(Lcom/google/gson/JsonObject;Ljava/lang/String;)Znamed getBooleanLnet/minecraft/util/JsonHelper;getBoolean(Lcom/google/gson/JsonObject;Ljava/lang/String;)Z
-
getBoolean
public static boolean getBoolean(JsonObject object, String element, boolean defaultBoolean)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Z)Zintermediary method_15258Lnet/minecraft/class_3518;method_15258(Lcom/google/gson/JsonObject;Ljava/lang/String;Z)Znamed getBooleanLnet/minecraft/util/JsonHelper;getBoolean(Lcom/google/gson/JsonObject;Ljava/lang/String;Z)Z
-
asDouble
public static double asDouble(JsonElement object, String name)
- Mappings:
Namespace Name Mixin selector official dLagm;d(Lcom/google/gson/JsonElement;Ljava/lang/String;)Dintermediary method_34922Lnet/minecraft/class_3518;method_34922(Lcom/google/gson/JsonElement;Ljava/lang/String;)Dnamed asDoubleLnet/minecraft/util/JsonHelper;asDouble(Lcom/google/gson/JsonElement;Ljava/lang/String;)D
-
getDouble
public static double getDouble(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official kLagm;k(Lcom/google/gson/JsonObject;Ljava/lang/String;)Dintermediary method_34927Lnet/minecraft/class_3518;method_34927(Lcom/google/gson/JsonObject;Ljava/lang/String;)Dnamed getDoubleLnet/minecraft/util/JsonHelper;getDouble(Lcom/google/gson/JsonObject;Ljava/lang/String;)D
-
getDouble
public static double getDouble(JsonObject object, String element, double defaultDouble)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;D)Dintermediary method_34915Lnet/minecraft/class_3518;method_34915(Lcom/google/gson/JsonObject;Ljava/lang/String;D)Dnamed getDoubleLnet/minecraft/util/JsonHelper;getDouble(Lcom/google/gson/JsonObject;Ljava/lang/String;D)D
-
asFloat
public static float asFloat(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official eLagm;e(Lcom/google/gson/JsonElement;Ljava/lang/String;)Fintermediary method_15269Lnet/minecraft/class_3518;method_15269(Lcom/google/gson/JsonElement;Ljava/lang/String;)Fnamed asFloatLnet/minecraft/util/JsonHelper;asFloat(Lcom/google/gson/JsonElement;Ljava/lang/String;)F
-
getFloat
public static float getFloat(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official lLagm;l(Lcom/google/gson/JsonObject;Ljava/lang/String;)Fintermediary method_15259Lnet/minecraft/class_3518;method_15259(Lcom/google/gson/JsonObject;Ljava/lang/String;)Fnamed getFloatLnet/minecraft/util/JsonHelper;getFloat(Lcom/google/gson/JsonObject;Ljava/lang/String;)F
-
getFloat
public static float getFloat(JsonObject object, String element, float defaultFloat)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;F)Fintermediary method_15277Lnet/minecraft/class_3518;method_15277(Lcom/google/gson/JsonObject;Ljava/lang/String;F)Fnamed getFloatLnet/minecraft/util/JsonHelper;getFloat(Lcom/google/gson/JsonObject;Ljava/lang/String;F)F
-
asLong
public static long asLong(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official fLagm;f(Lcom/google/gson/JsonElement;Ljava/lang/String;)Jintermediary method_15263Lnet/minecraft/class_3518;method_15263(Lcom/google/gson/JsonElement;Ljava/lang/String;)Jnamed asLongLnet/minecraft/util/JsonHelper;asLong(Lcom/google/gson/JsonElement;Ljava/lang/String;)J
-
getLong
public static long getLong(JsonObject object, String name)
- Mappings:
Namespace Name Mixin selector official mLagm;m(Lcom/google/gson/JsonObject;Ljava/lang/String;)Jintermediary method_22449Lnet/minecraft/class_3518;method_22449(Lcom/google/gson/JsonObject;Ljava/lang/String;)Jnamed getLongLnet/minecraft/util/JsonHelper;getLong(Lcom/google/gson/JsonObject;Ljava/lang/String;)J
-
getLong
public static long getLong(JsonObject object, String element, long defaultLong)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;J)Jintermediary method_15280Lnet/minecraft/class_3518;method_15280(Lcom/google/gson/JsonObject;Ljava/lang/String;J)Jnamed getLongLnet/minecraft/util/JsonHelper;getLong(Lcom/google/gson/JsonObject;Ljava/lang/String;J)J
-
asInt
public static int asInt(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official gLagm;g(Lcom/google/gson/JsonElement;Ljava/lang/String;)Iintermediary method_15257Lnet/minecraft/class_3518;method_15257(Lcom/google/gson/JsonElement;Ljava/lang/String;)Inamed asIntLnet/minecraft/util/JsonHelper;asInt(Lcom/google/gson/JsonElement;Ljava/lang/String;)I
-
getInt
public static int getInt(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official nLagm;n(Lcom/google/gson/JsonObject;Ljava/lang/String;)Iintermediary method_15260Lnet/minecraft/class_3518;method_15260(Lcom/google/gson/JsonObject;Ljava/lang/String;)Inamed getIntLnet/minecraft/util/JsonHelper;getInt(Lcom/google/gson/JsonObject;Ljava/lang/String;)I
-
getInt
public static int getInt(JsonObject object, String element, int defaultInt)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;I)Iintermediary method_15282Lnet/minecraft/class_3518;method_15282(Lcom/google/gson/JsonObject;Ljava/lang/String;I)Inamed getIntLnet/minecraft/util/JsonHelper;getInt(Lcom/google/gson/JsonObject;Ljava/lang/String;I)I
-
asByte
public static byte asByte(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official hLagm;h(Lcom/google/gson/JsonElement;Ljava/lang/String;)Bintermediary method_15293Lnet/minecraft/class_3518;method_15293(Lcom/google/gson/JsonElement;Ljava/lang/String;)Bnamed asByteLnet/minecraft/util/JsonHelper;asByte(Lcom/google/gson/JsonElement;Ljava/lang/String;)B
-
getByte
public static byte getByte(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official oLagm;o(Lcom/google/gson/JsonObject;Ljava/lang/String;)Bintermediary method_34929Lnet/minecraft/class_3518;method_34929(Lcom/google/gson/JsonObject;Ljava/lang/String;)Bnamed getByteLnet/minecraft/util/JsonHelper;getByte(Lcom/google/gson/JsonObject;Ljava/lang/String;)B
-
getByte
public static byte getByte(JsonObject object, String element, byte defaultByte)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;B)Bintermediary method_15271Lnet/minecraft/class_3518;method_15271(Lcom/google/gson/JsonObject;Ljava/lang/String;B)Bnamed getByteLnet/minecraft/util/JsonHelper;getByte(Lcom/google/gson/JsonObject;Ljava/lang/String;B)B
-
asChar
public static char asChar(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official iLagm;i(Lcom/google/gson/JsonElement;Ljava/lang/String;)Cintermediary method_34924Lnet/minecraft/class_3518;method_34924(Lcom/google/gson/JsonElement;Ljava/lang/String;)Cnamed asCharLnet/minecraft/util/JsonHelper;asChar(Lcom/google/gson/JsonElement;Ljava/lang/String;)C
-
getChar
public static char getChar(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official pLagm;p(Lcom/google/gson/JsonObject;Ljava/lang/String;)Cintermediary method_34930Lnet/minecraft/class_3518;method_34930(Lcom/google/gson/JsonObject;Ljava/lang/String;)Cnamed getCharLnet/minecraft/util/JsonHelper;getChar(Lcom/google/gson/JsonObject;Ljava/lang/String;)C
-
getChar
public static char getChar(JsonObject object, String element, char defaultChar)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;C)Cintermediary method_34914Lnet/minecraft/class_3518;method_34914(Lcom/google/gson/JsonObject;Ljava/lang/String;C)Cnamed getCharLnet/minecraft/util/JsonHelper;getChar(Lcom/google/gson/JsonObject;Ljava/lang/String;C)C
-
asBigDecimal
public static BigDecimal asBigDecimal(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official jLagm;j(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/math/BigDecimal;intermediary method_34925Lnet/minecraft/class_3518;method_34925(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/math/BigDecimal;named asBigDecimalLnet/minecraft/util/JsonHelper;asBigDecimal(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/math/BigDecimal;
-
getBigDecimal
public static BigDecimal getBigDecimal(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official qLagm;q(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/math/BigDecimal;intermediary method_34931Lnet/minecraft/class_3518;method_34931(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/math/BigDecimal;named getBigDecimalLnet/minecraft/util/JsonHelper;getBigDecimal(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/math/BigDecimal;
-
getBigDecimal
public static BigDecimal getBigDecimal(JsonObject object, String element, BigDecimal defaultBigDecimal)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/math/BigDecimal;)Ljava/math/BigDecimal;intermediary method_34917Lnet/minecraft/class_3518;method_34917(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/math/BigDecimal;)Ljava/math/BigDecimal;named getBigDecimalLnet/minecraft/util/JsonHelper;getBigDecimal(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
-
asBigInteger
public static BigInteger asBigInteger(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official kLagm;k(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/math/BigInteger;intermediary method_34926Lnet/minecraft/class_3518;method_34926(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/math/BigInteger;named asBigIntegerLnet/minecraft/util/JsonHelper;asBigInteger(Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/math/BigInteger;
-
getBigInteger
public static BigInteger getBigInteger(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official rLagm;r(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/math/BigInteger;intermediary method_34932Lnet/minecraft/class_3518;method_34932(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/math/BigInteger;named getBigIntegerLnet/minecraft/util/JsonHelper;getBigInteger(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/math/BigInteger;
-
getBigInteger
public static BigInteger getBigInteger(JsonObject object, String element, BigInteger defaultBigInteger)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/math/BigInteger;)Ljava/math/BigInteger;intermediary method_34918Lnet/minecraft/class_3518;method_34918(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/math/BigInteger;)Ljava/math/BigInteger;named getBigIntegerLnet/minecraft/util/JsonHelper;getBigInteger(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/math/BigInteger;)Ljava/math/BigInteger;
-
asShort
public static short asShort(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official lLagm;l(Lcom/google/gson/JsonElement;Ljava/lang/String;)Sintermediary method_34928Lnet/minecraft/class_3518;method_34928(Lcom/google/gson/JsonElement;Ljava/lang/String;)Snamed asShortLnet/minecraft/util/JsonHelper;asShort(Lcom/google/gson/JsonElement;Ljava/lang/String;)S
-
getShort
public static short getShort(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official sLagm;s(Lcom/google/gson/JsonObject;Ljava/lang/String;)Sintermediary method_34933Lnet/minecraft/class_3518;method_34933(Lcom/google/gson/JsonObject;Ljava/lang/String;)Snamed getShortLnet/minecraft/util/JsonHelper;getShort(Lcom/google/gson/JsonObject;Ljava/lang/String;)S
-
getShort
public static short getShort(JsonObject object, String element, short defaultShort)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;S)Sintermediary method_34919Lnet/minecraft/class_3518;method_34919(Lcom/google/gson/JsonObject;Ljava/lang/String;S)Snamed getShortLnet/minecraft/util/JsonHelper;getShort(Lcom/google/gson/JsonObject;Ljava/lang/String;S)S
-
asObject
public static JsonObject asObject(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official mLagm;m(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonObject;intermediary method_15295Lnet/minecraft/class_3518;method_15295(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonObject;named asObjectLnet/minecraft/util/JsonHelper;asObject(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonObject;
-
getObject
public static JsonObject getObject(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official tLagm;t(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/google/gson/JsonObject;intermediary method_15296Lnet/minecraft/class_3518;method_15296(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/google/gson/JsonObject;named getObjectLnet/minecraft/util/JsonHelper;getObject(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/google/gson/JsonObject;
-
getObject
public static JsonObject getObject(JsonObject object, String element, JsonObject defaultObject)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonObject;)Lcom/google/gson/JsonObject;intermediary method_15281Lnet/minecraft/class_3518;method_15281(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonObject;)Lcom/google/gson/JsonObject;named getObjectLnet/minecraft/util/JsonHelper;getObject(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonObject;)Lcom/google/gson/JsonObject;
-
asArray
public static JsonArray asArray(JsonElement element, String name)
- Mappings:
Namespace Name Mixin selector official nLagm;n(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonArray;intermediary method_15252Lnet/minecraft/class_3518;method_15252(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonArray;named asArrayLnet/minecraft/util/JsonHelper;asArray(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonArray;
-
getArray
public static JsonArray getArray(JsonObject object, String element)
- Mappings:
Namespace Name Mixin selector official uLagm;u(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/google/gson/JsonArray;intermediary method_15261Lnet/minecraft/class_3518;method_15261(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/google/gson/JsonArray;named getArrayLnet/minecraft/util/JsonHelper;getArray(Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/google/gson/JsonArray;
-
getArray
@Nullable public static @Nullable JsonArray getArray(JsonObject object, String name, @Nullable @Nullable JsonArray defaultArray)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonArray;)Lcom/google/gson/JsonArray;intermediary method_15292Lnet/minecraft/class_3518;method_15292(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonArray;)Lcom/google/gson/JsonArray;named getArrayLnet/minecraft/util/JsonHelper;getArray(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonArray;)Lcom/google/gson/JsonArray;
-
deserialize
public static <T> T deserialize(@Nullable @Nullable JsonElement element, String name, JsonDeserializationContext context, Class<? extends T> type)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonElement;Ljava/lang/String;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;intermediary method_15291Lnet/minecraft/class_3518;method_15291(Lcom/google/gson/JsonElement;Ljava/lang/String;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/String;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;
-
deserialize
public static <T> T deserialize(JsonObject object, String element, JsonDeserializationContext context, Class<? extends T> type)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;intermediary method_15272Lnet/minecraft/class_3518;method_15272(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;
-
deserialize
public static <T> T deserialize(JsonObject object, String element, T defaultValue, JsonDeserializationContext context, Class<? extends T> type)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Object;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;intermediary method_15283Lnet/minecraft/class_3518;method_15283(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Object;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Object;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object;
-
getType
public static String getType(JsonElement element)
- Mappings:
Namespace Name Mixin selector official dLagm;d(Lcom/google/gson/JsonElement;)Ljava/lang/String;intermediary method_15266Lnet/minecraft/class_3518;method_15266(Lcom/google/gson/JsonElement;)Ljava/lang/String;named getTypeLnet/minecraft/util/JsonHelper;getType(Lcom/google/gson/JsonElement;)Ljava/lang/String;
-
deserialize
@Nullable public static <T> T deserialize(Gson gson, Reader reader, Class<T> type, boolean lenient)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/Gson;Ljava/io/Reader;Ljava/lang/Class;Z)Ljava/lang/Object;intermediary method_15267Lnet/minecraft/class_3518;method_15267(Lcom/google/gson/Gson;Ljava/io/Reader;Ljava/lang/Class;Z)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/Gson;Ljava/io/Reader;Ljava/lang/Class;Z)Ljava/lang/Object;
-
deserialize
@Nullable public static <T> T deserialize(Gson gson, Reader reader, TypeToken<T> typeToken, boolean lenient)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/Gson;Ljava/io/Reader;Lcom/google/gson/reflect/TypeToken;Z)Ljava/lang/Object;intermediary method_15273Lnet/minecraft/class_3518;method_15273(Lcom/google/gson/Gson;Ljava/io/Reader;Lcom/google/gson/reflect/TypeToken;Z)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/Gson;Ljava/io/Reader;Lcom/google/gson/reflect/TypeToken;Z)Ljava/lang/Object;
-
deserialize
@Nullable public static <T> T deserialize(Gson gson, String content, TypeToken<T> typeToken, boolean lenient)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/Gson;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;Z)Ljava/lang/Object;intermediary method_15262Lnet/minecraft/class_3518;method_15262(Lcom/google/gson/Gson;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;Z)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/Gson;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;Z)Ljava/lang/Object;
-
deserialize
@Nullable public static <T> T deserialize(Gson gson, String content, Class<T> class2, boolean lenient)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/Gson;Ljava/lang/String;Ljava/lang/Class;Z)Ljava/lang/Object;intermediary method_15279Lnet/minecraft/class_3518;method_15279(Lcom/google/gson/Gson;Ljava/lang/String;Ljava/lang/Class;Z)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/Gson;Ljava/lang/String;Ljava/lang/Class;Z)Ljava/lang/Object;
-
deserialize
@Nullable public static <T> T deserialize(Gson gson, Reader reader, TypeToken<T> typeToken)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/Gson;Ljava/io/Reader;Lcom/google/gson/reflect/TypeToken;)Ljava/lang/Object;intermediary method_15297Lnet/minecraft/class_3518;method_15297(Lcom/google/gson/Gson;Ljava/io/Reader;Lcom/google/gson/reflect/TypeToken;)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/Gson;Ljava/io/Reader;Lcom/google/gson/reflect/TypeToken;)Ljava/lang/Object;
-
deserialize
@Nullable public static <T> T deserialize(Gson gson, String content, TypeToken<T> typeToken)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/Gson;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;)Ljava/lang/Object;intermediary method_15290Lnet/minecraft/class_3518;method_15290(Lcom/google/gson/Gson;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/Gson;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;)Ljava/lang/Object;
-
deserialize
@Nullable public static <T> T deserialize(Gson gson, Reader reader, Class<T> class2)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/Gson;Ljava/io/Reader;Ljava/lang/Class;)Ljava/lang/Object;intermediary method_15276Lnet/minecraft/class_3518;method_15276(Lcom/google/gson/Gson;Ljava/io/Reader;Ljava/lang/Class;)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/Gson;Ljava/io/Reader;Ljava/lang/Class;)Ljava/lang/Object;
-
deserialize
@Nullable public static <T> T deserialize(Gson gson, String content, Class<T> class2)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lcom/google/gson/Gson;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;intermediary method_15284Lnet/minecraft/class_3518;method_15284(Lcom/google/gson/Gson;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Lcom/google/gson/Gson;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
-
deserialize
public static JsonObject deserialize(String content, boolean lenient)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Ljava/lang/String;Z)Lcom/google/gson/JsonObject;intermediary method_15298Lnet/minecraft/class_3518;method_15298(Ljava/lang/String;Z)Lcom/google/gson/JsonObject;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Ljava/lang/String;Z)Lcom/google/gson/JsonObject;
-
deserialize
public static JsonObject deserialize(Reader reader, boolean lenient)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Ljava/io/Reader;Z)Lcom/google/gson/JsonObject;intermediary method_15274Lnet/minecraft/class_3518;method_15274(Ljava/io/Reader;Z)Lcom/google/gson/JsonObject;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Ljava/io/Reader;Z)Lcom/google/gson/JsonObject;
-
deserialize
public static JsonObject deserialize(String content)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Ljava/lang/String;)Lcom/google/gson/JsonObject;intermediary method_15285Lnet/minecraft/class_3518;method_15285(Ljava/lang/String;)Lcom/google/gson/JsonObject;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Ljava/lang/String;)Lcom/google/gson/JsonObject;
-
deserialize
public static JsonObject deserialize(Reader reader)
- Mappings:
Namespace Name Mixin selector official aLagm;a(Ljava/io/Reader;)Lcom/google/gson/JsonObject;intermediary method_15255Lnet/minecraft/class_3518;method_15255(Ljava/io/Reader;)Lcom/google/gson/JsonObject;named deserializeLnet/minecraft/util/JsonHelper;deserialize(Ljava/io/Reader;)Lcom/google/gson/JsonObject;
-
-