70 lines
2.0 KiB
Java
70 lines
2.0 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 XjB extends LdB {
|
|
public int c;
|
|
public String e;
|
|
|
|
public XjB(int i, String str, JZY jzy) {
|
|
super(jzy);
|
|
this.c = i;
|
|
this.e = str;
|
|
}
|
|
|
|
public final /* synthetic */ void c(Gson gson, JsonReader jsonReader, int i) {
|
|
boolean z = jsonReader.peek() != JsonToken.NULL;
|
|
if (i == 80) {
|
|
if (z) {
|
|
this.e = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
return;
|
|
} else {
|
|
this.e = null;
|
|
jsonReader.nextNull();
|
|
return;
|
|
}
|
|
}
|
|
if (i != 580) {
|
|
a(gson, jsonReader, i);
|
|
} else if (z) {
|
|
this.c = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
} else {
|
|
jsonReader.nextNull();
|
|
}
|
|
}
|
|
|
|
public final /* synthetic */ void d(Gson gson, JsonReader jsonReader, InterfaceC15734iCu interfaceC15734iCu) {
|
|
jsonReader.beginObject();
|
|
while (jsonReader.hasNext()) {
|
|
c(gson, jsonReader, interfaceC15734iCu.e(jsonReader));
|
|
}
|
|
jsonReader.endObject();
|
|
}
|
|
|
|
public /* synthetic */ XjB() {
|
|
}
|
|
|
|
public final /* synthetic */ void d(Gson gson, JsonWriter jsonWriter, PYE pye) {
|
|
if (this != this.e) {
|
|
pye.c(jsonWriter, 498);
|
|
String str = this.e;
|
|
DTh.b(gson, String.class, str).write(jsonWriter, str);
|
|
}
|
|
pye.c(jsonWriter, 81);
|
|
Class cls = Integer.TYPE;
|
|
Integer valueOf = Integer.valueOf(this.c);
|
|
DTh.b(gson, cls, valueOf).write(jsonWriter, valueOf);
|
|
a(gson, jsonWriter, pye);
|
|
}
|
|
|
|
public final /* synthetic */ void e(Gson gson, JsonWriter jsonWriter, PYE pye) {
|
|
jsonWriter.beginObject();
|
|
d(gson, jsonWriter, pye);
|
|
jsonWriter.endObject();
|
|
}
|
|
}
|