135 lines
5.0 KiB
Java
135 lines
5.0 KiB
Java
|
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;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class VTP extends TypeAdapter implements HJa {
|
||
|
private PYE b;
|
||
|
private Gson c;
|
||
|
private InterfaceC15734iCu d;
|
||
|
|
||
|
public VTP(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
|
||
|
this.c = gson;
|
||
|
this.d = interfaceC15734iCu;
|
||
|
this.b = pye;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.gson.TypeAdapter
|
||
|
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
|
||
|
if (obj == null) {
|
||
|
jsonWriter.nullValue();
|
||
|
return;
|
||
|
}
|
||
|
jwX jwx = (jwX) obj;
|
||
|
Gson gson = this.c;
|
||
|
PYE pye = this.b;
|
||
|
jsonWriter.beginObject();
|
||
|
String str = jwx.b;
|
||
|
pye.c(jsonWriter, 533);
|
||
|
String str2 = jwx.b;
|
||
|
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
|
||
|
String str3 = jwx.c;
|
||
|
pye.c(jsonWriter, 277);
|
||
|
String str4 = jwx.c;
|
||
|
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
|
||
|
String str5 = jwx.d;
|
||
|
pye.c(jsonWriter, 535);
|
||
|
String str6 = jwx.d;
|
||
|
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
|
||
|
if (jwx != jwx.e) {
|
||
|
pye.c(jsonWriter, 370);
|
||
|
zPl zpl = new zPl();
|
||
|
List<String> list = jwx.e;
|
||
|
DTh.a(gson, zpl, list).write(jsonWriter, list);
|
||
|
}
|
||
|
String str7 = jwx.a;
|
||
|
pye.c(jsonWriter, 647);
|
||
|
String str8 = jwx.a;
|
||
|
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
|
||
|
String str9 = jwx.h;
|
||
|
pye.c(jsonWriter, 502);
|
||
|
String str10 = jwx.h;
|
||
|
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
|
||
|
String str11 = jwx.g;
|
||
|
pye.c(jsonWriter, 325);
|
||
|
String str12 = jwx.g;
|
||
|
DTh.b(gson, String.class, str12).write(jsonWriter, str12);
|
||
|
jsonWriter.endObject();
|
||
|
}
|
||
|
|
||
|
@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;
|
||
|
}
|
||
|
jwX jwx = new jwX();
|
||
|
Gson gson = this.c;
|
||
|
InterfaceC15734iCu interfaceC15734iCu = this.d;
|
||
|
jsonReader.beginObject();
|
||
|
while (jsonReader.hasNext()) {
|
||
|
int e = interfaceC15734iCu.e(jsonReader);
|
||
|
boolean z = jsonReader.peek() != JsonToken.NULL;
|
||
|
if (e != 133) {
|
||
|
if (e != 134) {
|
||
|
if (e != 239) {
|
||
|
if (e != 347) {
|
||
|
if (e != 545) {
|
||
|
if (e != 593) {
|
||
|
if (e != 598) {
|
||
|
jsonReader.skipValue();
|
||
|
} else if (z) {
|
||
|
jwx.h = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
} else {
|
||
|
jwx.h = null;
|
||
|
jsonReader.nextNull();
|
||
|
}
|
||
|
} else if (z) {
|
||
|
jwx.d = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
} else {
|
||
|
jwx.d = null;
|
||
|
jsonReader.nextNull();
|
||
|
}
|
||
|
} else if (z) {
|
||
|
jwx.e = (List) gson.getAdapter(new zPl()).read2(jsonReader);
|
||
|
} else {
|
||
|
jwx.e = null;
|
||
|
jsonReader.nextNull();
|
||
|
}
|
||
|
} else if (z) {
|
||
|
jwx.a = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
} else {
|
||
|
jwx.a = null;
|
||
|
jsonReader.nextNull();
|
||
|
}
|
||
|
} else if (z) {
|
||
|
jwx.b = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
} else {
|
||
|
jwx.b = null;
|
||
|
jsonReader.nextNull();
|
||
|
}
|
||
|
} else if (z) {
|
||
|
jwx.g = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
} else {
|
||
|
jwx.g = null;
|
||
|
jsonReader.nextNull();
|
||
|
}
|
||
|
} else if (z) {
|
||
|
jwx.c = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
} else {
|
||
|
jwx.c = null;
|
||
|
jsonReader.nextNull();
|
||
|
}
|
||
|
}
|
||
|
jsonReader.endObject();
|
||
|
return jwx;
|
||
|
}
|
||
|
}
|