Class LenientJsonParser

java.lang.Object
net.minecraft.util.LenientJsonParser

public class LenientJsonParser extends Object
Mappings:
Namespace Name
named net/minecraft/util/LenientJsonParser
intermediary net/minecraft/class_11329
official bbw
  • Constructor Details

    • LenientJsonParser

      public LenientJsonParser()
  • Method Details

    • parse

      public static JsonElement parse(Reader reader) throws JsonIOException, JsonSyntaxException
      Throws:
      JsonIOException
      JsonSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/util/LenientJsonParser;parse(Ljava/io/Reader;)Lcom/google/gson/JsonElement;
      intermediary method_71347 Lnet/minecraft/class_11329;method_71347(Ljava/io/Reader;)Lcom/google/gson/JsonElement;
      official a Lbbw;a(Ljava/io/Reader;)Lcom/google/gson/JsonElement;
    • parse

      public static JsonElement parse(String json) throws JsonSyntaxException
      Throws:
      JsonSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/util/LenientJsonParser;parse(Ljava/lang/String;)Lcom/google/gson/JsonElement;
      intermediary method_71348 Lnet/minecraft/class_11329;method_71348(Ljava/lang/String;)Lcom/google/gson/JsonElement;
      official a Lbbw;a(Ljava/lang/String;)Lcom/google/gson/JsonElement;