218 lines
8.0 KiB
Java
218 lines
8.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 o.C17686yrw;
|
||
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class YEN extends TypeAdapter implements HJa {
|
||
|
private InterfaceC15734iCu c;
|
||
|
private Gson d;
|
||
|
private PYE e;
|
||
|
|
||
|
public YEN(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
|
||
|
this.d = gson;
|
||
|
this.c = interfaceC15734iCu;
|
||
|
this.e = pye;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.gson.TypeAdapter
|
||
|
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
|
||
|
if (obj == null) {
|
||
|
jsonWriter.nullValue();
|
||
|
return;
|
||
|
}
|
||
|
C17686yrw c17686yrw = (C17686yrw) obj;
|
||
|
Gson gson = this.d;
|
||
|
PYE pye = this.e;
|
||
|
jsonWriter.beginObject();
|
||
|
String str = c17686yrw.a;
|
||
|
pye.c(jsonWriter, 102);
|
||
|
String str2 = c17686yrw.a;
|
||
|
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
|
||
|
String str3 = c17686yrw.e;
|
||
|
pye.c(jsonWriter, 80);
|
||
|
String str4 = c17686yrw.e;
|
||
|
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
|
||
|
String str5 = c17686yrw.b;
|
||
|
pye.c(jsonWriter, CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256);
|
||
|
String str6 = c17686yrw.b;
|
||
|
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
|
||
|
String str7 = c17686yrw.d;
|
||
|
pye.c(jsonWriter, 213);
|
||
|
String str8 = c17686yrw.d;
|
||
|
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
|
||
|
String str9 = c17686yrw.c;
|
||
|
pye.c(jsonWriter, 563);
|
||
|
String str10 = c17686yrw.c;
|
||
|
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
|
||
|
String str11 = c17686yrw.j;
|
||
|
pye.c(jsonWriter, 334);
|
||
|
String str12 = c17686yrw.j;
|
||
|
DTh.b(gson, String.class, str12).write(jsonWriter, str12);
|
||
|
String str13 = c17686yrw.h;
|
||
|
pye.c(jsonWriter, 585);
|
||
|
String str14 = c17686yrw.h;
|
||
|
DTh.b(gson, String.class, str14).write(jsonWriter, str14);
|
||
|
String str15 = c17686yrw.f;
|
||
|
pye.c(jsonWriter, 307);
|
||
|
String str16 = c17686yrw.f;
|
||
|
DTh.b(gson, String.class, str16).write(jsonWriter, str16);
|
||
|
String str17 = c17686yrw.g;
|
||
|
pye.c(jsonWriter, 343);
|
||
|
String str18 = c17686yrw.g;
|
||
|
DTh.b(gson, String.class, str18).write(jsonWriter, str18);
|
||
|
String str19 = c17686yrw.i;
|
||
|
pye.c(jsonWriter, 659);
|
||
|
String str20 = c17686yrw.i;
|
||
|
DTh.b(gson, String.class, str20).write(jsonWriter, str20);
|
||
|
String str21 = c17686yrw.f9331o;
|
||
|
pye.c(jsonWriter, 260);
|
||
|
String str22 = c17686yrw.f9331o;
|
||
|
DTh.b(gson, String.class, str22).write(jsonWriter, str22);
|
||
|
C17686yrw.RVV rvv = c17686yrw.l;
|
||
|
pye.c(jsonWriter, 634);
|
||
|
C17686yrw.RVV rvv2 = c17686yrw.l;
|
||
|
DTh.b(gson, C17686yrw.RVV.class, rvv2).write(jsonWriter, rvv2);
|
||
|
String str23 = c17686yrw.m;
|
||
|
pye.c(jsonWriter, 61);
|
||
|
String str24 = c17686yrw.m;
|
||
|
DTh.b(gson, String.class, str24).write(jsonWriter, str24);
|
||
|
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;
|
||
|
}
|
||
|
C17686yrw c17686yrw = new C17686yrw();
|
||
|
Gson gson = this.d;
|
||
|
InterfaceC15734iCu interfaceC15734iCu = this.c;
|
||
|
jsonReader.beginObject();
|
||
|
while (jsonReader.hasNext()) {
|
||
|
int e = interfaceC15734iCu.e(jsonReader);
|
||
|
boolean z = jsonReader.peek() != JsonToken.NULL;
|
||
|
switch (e) {
|
||
|
case 4:
|
||
|
if (!z) {
|
||
|
c17686yrw.m = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.m = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 83:
|
||
|
if (!z) {
|
||
|
c17686yrw.b = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.b = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256 /* 164 */:
|
||
|
if (!z) {
|
||
|
c17686yrw.f = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.f = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 215:
|
||
|
if (!z) {
|
||
|
c17686yrw.j = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.j = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 227:
|
||
|
if (!z) {
|
||
|
c17686yrw.a = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.a = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 425:
|
||
|
if (!z) {
|
||
|
c17686yrw.f9331o = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.f9331o = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 455:
|
||
|
if (!z) {
|
||
|
c17686yrw.d = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.d = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 487:
|
||
|
if (!z) {
|
||
|
c17686yrw.h = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.h = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 498:
|
||
|
if (!z) {
|
||
|
c17686yrw.l = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.l = (C17686yrw.RVV) gson.getAdapter(C17686yrw.RVV.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 527:
|
||
|
if (!z) {
|
||
|
c17686yrw.c = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.c = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 557:
|
||
|
if (!z) {
|
||
|
c17686yrw.g = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.g = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 626:
|
||
|
if (!z) {
|
||
|
c17686yrw.i = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.i = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
case 645:
|
||
|
if (!z) {
|
||
|
c17686yrw.e = null;
|
||
|
break;
|
||
|
} else {
|
||
|
c17686yrw.e = (String) gson.getAdapter(String.class).read2(jsonReader);
|
||
|
break;
|
||
|
}
|
||
|
default:
|
||
|
jsonReader.skipValue();
|
||
|
continue;
|
||
|
}
|
||
|
jsonReader.nextNull();
|
||
|
}
|
||
|
jsonReader.endObject();
|
||
|
return c17686yrw;
|
||
|
}
|
||
|
}
|