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

55 lines
1.6 KiB
Java

package o;
import com.google.gson.Gson;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
/* loaded from: classes.dex */
public class LdB {
public JZY b;
public LdB(JZY jzy) {
this.b = jzy;
}
/* JADX INFO: Access modifiers changed from: protected */
public final /* synthetic */ void a(Gson gson, JsonReader jsonReader, int i) {
boolean z = jsonReader.peek() != JsonToken.NULL;
if (i != 220) {
jsonReader.skipValue();
} else if (z) {
this.b = (JZY) gson.getAdapter(JZY.class).read2(jsonReader);
} else {
this.b = null;
jsonReader.nextNull();
}
}
public final /* synthetic */ void e(Gson gson, JsonReader jsonReader, InterfaceC15734iCu interfaceC15734iCu) {
jsonReader.beginObject();
while (jsonReader.hasNext()) {
a(gson, jsonReader, interfaceC15734iCu.e(jsonReader));
}
jsonReader.endObject();
}
public /* synthetic */ LdB() {
}
/* JADX INFO: Access modifiers changed from: protected */
public final /* synthetic */ void a(Gson gson, JsonWriter jsonWriter, PYE pye) {
if (this != this.b) {
pye.c(jsonWriter, 671);
JZY jzy = this.b;
DTh.b(gson, JZY.class, jzy).write(jsonWriter, jzy);
}
}
public final /* synthetic */ void b(Gson gson, JsonWriter jsonWriter, PYE pye) {
jsonWriter.beginObject();
a(gson, jsonWriter, pye);
jsonWriter.endObject();
}
}