public class JsonUtils
extends Object 
- 
Nested Class Summary
Nested Classes
 
- 
Constructor Summary
Constructors
 
- 
Method Summary
private static <E> com.google.common.reflect.TypeToken<List<E>> 
 
private static <E> com.google.common.reflect.TypeToken<Map<String,E>> 
 
 
 
 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
 
- 
Constructor Details
- 
JsonUtils
public JsonUtils()
 
 
- 
Method Details
- 
listOf
private static <E>
com.google.common.reflect.TypeToken<List<E>> listOf(Type arg) 
 
- 
readNBT
@Nullable
public static @Nullable CompoundTag readNBT(com.google.gson.JsonObject json,
 String key) 
 
- 
mapOf
private static <E>
com.google.common.reflect.TypeToken<Map<String,E>> mapOf(Type arg)