what-the-bank/sources/o/KfM.java

44 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
/* loaded from: classes.dex */
public final class KfM extends TypeAdapter implements HJa {
private PYE a;
private Gson b;
private InterfaceC15734iCu c;
public KfM(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
this.b = gson;
this.c = interfaceC15734iCu;
this.a = pye;
}
@Override // com.google.gson.TypeAdapter
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
if (obj == null) {
jsonWriter.nullValue();
} else {
ApB apB = (ApB) obj;
ApB.a(new Object[]{apB, this.b, jsonWriter, this.a}, 232760345, -232760344, System.identityHashCode(apB));
}
}
@Override // com.google.gson.TypeAdapter
/* renamed from: read */
public final Object read2(JsonReader jsonReader) throws IOException {
if (jsonReader.peek() == JsonToken.NULL) {
jsonReader.skipValue();
return null;
}
ApB apB = new ApB();
apB.b(this.b, jsonReader, this.c);
return apB;
}
}