public static class LootContext.EntityTarget.Serializer extends com.google.gson.TypeAdapter<LootContext.EntityTarget>
コンストラクタと説明 |
---|
Serializer() |
修飾子とタイプ | メソッドと説明 |
---|---|
LootContext.EntityTarget |
read(com.google.gson.stream.JsonReader p_read_1_)
Reads one JSON value (an array, object, string, number, boolean or null)
and converts it to a Java object.
|
void |
write(com.google.gson.stream.JsonWriter p_write_1_,
LootContext.EntityTarget p_write_2_)
Writes one JSON value (an array, object, string, number, boolean or null)
for
value . |
public void write(com.google.gson.stream.JsonWriter p_write_1_, LootContext.EntityTarget p_write_2_) throws java.io.IOException
com.google.gson.TypeAdapter
value
.write
クラス内 com.google.gson.TypeAdapter<LootContext.EntityTarget>
p_write_2_
- the Java object to write. May be null.java.io.IOException
public LootContext.EntityTarget read(com.google.gson.stream.JsonReader p_read_1_) throws java.io.IOException
com.google.gson.TypeAdapter
read
クラス内 com.google.gson.TypeAdapter<LootContext.EntityTarget>
java.io.IOException