@doordeck/doordeck-headless-sdk 0.155.0 → 0.156.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kermit-kermit-core.js +5 -5
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +1 -1
- package/kotlin/doordeck-sdk.js +3768 -3768
- package/kotlin/kotlin-kotlin-stdlib.js +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1671 -1671
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +306 -306
- package/kotlin/ktor-ktor-client-auth.js +52 -52
- package/kotlin/ktor-ktor-client-content-negotiation.js +43 -43
- package/kotlin/ktor-ktor-client-core.js +1568 -1578
- package/kotlin/ktor-ktor-client-logging.js +200 -200
- package/kotlin/ktor-ktor-events.js +5 -5
- package/kotlin/ktor-ktor-http-cio.js +314 -314
- package/kotlin/ktor-ktor-http.js +685 -683
- package/kotlin/ktor-ktor-io.js +468 -463
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx.js +17 -17
- package/kotlin/ktor-ktor-serialization.js +6 -6
- package/kotlin/ktor-ktor-utils.js +635 -635
- package/kotlin/ktor-ktor-websockets.js +36 -36
- package/package.json +2 -2
|
@@ -262,10 +262,10 @@
|
|
|
262
262
|
this.r59_1 = serializersModule;
|
|
263
263
|
this.s59_1 = new DescriptorSchemaCache();
|
|
264
264
|
}
|
|
265
|
-
protoOf(Json).
|
|
265
|
+
protoOf(Json).j21 = function () {
|
|
266
266
|
return this.r59_1;
|
|
267
267
|
};
|
|
268
|
-
protoOf(Json).
|
|
268
|
+
protoOf(Json).k1y = function (serializer, value) {
|
|
269
269
|
var result = new JsonToStringWriter();
|
|
270
270
|
try {
|
|
271
271
|
encodeByWriter(this, result, serializer, value);
|
|
@@ -274,15 +274,15 @@
|
|
|
274
274
|
result.n1h();
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
|
-
protoOf(Json).
|
|
277
|
+
protoOf(Json).l1y = function (deserializer, string) {
|
|
278
278
|
var lexer = StringJsonLexer_0(this, string);
|
|
279
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
280
|
-
var result = input.
|
|
279
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.h1x(), null);
|
|
280
|
+
var result = input.t20(deserializer);
|
|
281
281
|
lexer.h5a();
|
|
282
282
|
return result;
|
|
283
283
|
};
|
|
284
284
|
protoOf(Json).t59 = function (string) {
|
|
285
|
-
return this.
|
|
285
|
+
return this.l1y(JsonElementSerializer_getInstance(), string);
|
|
286
286
|
};
|
|
287
287
|
function Json_0(from, builderAction) {
|
|
288
288
|
from = from === VOID ? Default_getInstance() : from;
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
this.w5a_1 = json.q59_1.l5b_1;
|
|
310
310
|
this.x5a_1 = json.q59_1.e5b_1;
|
|
311
311
|
this.y5a_1 = json.q59_1.j5b_1;
|
|
312
|
-
this.z5a_1 = json.
|
|
312
|
+
this.z5a_1 = json.j21();
|
|
313
313
|
}
|
|
314
314
|
protoOf(JsonBuilder).a5b = function () {
|
|
315
315
|
if (this.y5a_1) {
|
|
@@ -356,10 +356,10 @@
|
|
|
356
356
|
return new JsonConfiguration(this.i5a_1, this.k5a_1, this.l5a_1, this.x5a_1, this.m5a_1, this.j5a_1, this.n5a_1, this.o5a_1, this.y5a_1, this.p5a_1, this.w5a_1, this.r5a_1, this.s5a_1, this.t5a_1, this.u5a_1, this.v5a_1, this.q5a_1);
|
|
357
357
|
};
|
|
358
358
|
function validateConfiguration($this) {
|
|
359
|
-
if (equals($this.
|
|
359
|
+
if (equals($this.j21(), EmptySerializersModule()))
|
|
360
360
|
return Unit_instance;
|
|
361
361
|
var collector = new JsonSerializersModuleValidator($this.q59_1);
|
|
362
|
-
$this.
|
|
362
|
+
$this.j21().f2h(collector);
|
|
363
363
|
}
|
|
364
364
|
function JsonImpl(configuration, module_0) {
|
|
365
365
|
Json.call(this, configuration, module_0);
|
|
@@ -511,13 +511,13 @@
|
|
|
511
511
|
protoOf(JsonObject).j = function () {
|
|
512
512
|
return this.w5b_1.j();
|
|
513
513
|
};
|
|
514
|
-
protoOf(JsonObject).
|
|
514
|
+
protoOf(JsonObject).p2k = function (key) {
|
|
515
515
|
return this.w5b_1.m2(key);
|
|
516
516
|
};
|
|
517
517
|
protoOf(JsonObject).m2 = function (key) {
|
|
518
518
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
519
519
|
return false;
|
|
520
|
-
return this.
|
|
520
|
+
return this.p2k((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
521
521
|
};
|
|
522
522
|
protoOf(JsonObject).x5b = function (value) {
|
|
523
523
|
return this.w5b_1.n2(value);
|
|
@@ -527,13 +527,13 @@
|
|
|
527
527
|
return false;
|
|
528
528
|
return this.x5b(value instanceof JsonElement ? value : THROW_CCE());
|
|
529
529
|
};
|
|
530
|
-
protoOf(JsonObject).
|
|
530
|
+
protoOf(JsonObject).r2k = function (key) {
|
|
531
531
|
return this.w5b_1.o2(key);
|
|
532
532
|
};
|
|
533
533
|
protoOf(JsonObject).o2 = function (key) {
|
|
534
534
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
535
535
|
return null;
|
|
536
|
-
return this.
|
|
536
|
+
return this.r2k((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
537
537
|
};
|
|
538
538
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
539
539
|
return this.w5b_1.asJsReadonlyMapView();
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
protoOf(JsonNull).e5c = function () {
|
|
635
635
|
return JsonNullSerializer_getInstance();
|
|
636
636
|
};
|
|
637
|
-
protoOf(JsonNull).
|
|
637
|
+
protoOf(JsonNull).m29 = function (typeParamsSerializers) {
|
|
638
638
|
return this.e5c();
|
|
639
639
|
};
|
|
640
640
|
var JsonNull_instance;
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
if (!(this.g5c_1 == null)) {
|
|
653
653
|
// Inline function 'kotlin.require' call
|
|
654
654
|
// Inline function 'kotlin.require' call
|
|
655
|
-
if (!this.g5c_1.
|
|
655
|
+
if (!this.g5c_1.c1z()) {
|
|
656
656
|
var message = 'Failed requirement.';
|
|
657
657
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
658
658
|
}
|
|
@@ -762,11 +762,11 @@
|
|
|
762
762
|
}
|
|
763
763
|
}
|
|
764
764
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
765
|
-
$this$buildSerialDescriptor.
|
|
766
|
-
$this$buildSerialDescriptor.
|
|
767
|
-
$this$buildSerialDescriptor.
|
|
768
|
-
$this$buildSerialDescriptor.
|
|
769
|
-
$this$buildSerialDescriptor.
|
|
765
|
+
$this$buildSerialDescriptor.v1x('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
766
|
+
$this$buildSerialDescriptor.v1x('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
767
|
+
$this$buildSerialDescriptor.v1x('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
768
|
+
$this$buildSerialDescriptor.v1x('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
769
|
+
$this$buildSerialDescriptor.v1x('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
770
770
|
return Unit_instance;
|
|
771
771
|
}
|
|
772
772
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
@@ -790,29 +790,29 @@
|
|
|
790
790
|
var tmp_0 = SEALED_getInstance();
|
|
791
791
|
tmp.o5c_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
792
792
|
}
|
|
793
|
-
protoOf(JsonElementSerializer).
|
|
793
|
+
protoOf(JsonElementSerializer).h1x = function () {
|
|
794
794
|
return this.o5c_1;
|
|
795
795
|
};
|
|
796
796
|
protoOf(JsonElementSerializer).p5c = function (encoder, value) {
|
|
797
797
|
verify(encoder);
|
|
798
798
|
if (value instanceof JsonPrimitive) {
|
|
799
|
-
encoder.
|
|
799
|
+
encoder.m22(JsonPrimitiveSerializer_getInstance(), value);
|
|
800
800
|
} else {
|
|
801
801
|
if (value instanceof JsonObject) {
|
|
802
|
-
encoder.
|
|
802
|
+
encoder.m22(JsonObjectSerializer_getInstance(), value);
|
|
803
803
|
} else {
|
|
804
804
|
if (value instanceof JsonArray) {
|
|
805
|
-
encoder.
|
|
805
|
+
encoder.m22(JsonArraySerializer_getInstance(), value);
|
|
806
806
|
} else {
|
|
807
807
|
noWhenBranchMatchedException();
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
811
|
};
|
|
812
|
-
protoOf(JsonElementSerializer).
|
|
812
|
+
protoOf(JsonElementSerializer).i1x = function (encoder, value) {
|
|
813
813
|
return this.p5c(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
814
814
|
};
|
|
815
|
-
protoOf(JsonElementSerializer).
|
|
815
|
+
protoOf(JsonElementSerializer).j1x = function (decoder) {
|
|
816
816
|
var input = asJsonDecoder(decoder);
|
|
817
817
|
return input.u5b();
|
|
818
818
|
};
|
|
@@ -829,26 +829,26 @@
|
|
|
829
829
|
JsonPrimitiveSerializer_instance = this;
|
|
830
830
|
this.j5c_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
831
831
|
}
|
|
832
|
-
protoOf(JsonPrimitiveSerializer).
|
|
832
|
+
protoOf(JsonPrimitiveSerializer).h1x = function () {
|
|
833
833
|
return this.j5c_1;
|
|
834
834
|
};
|
|
835
835
|
protoOf(JsonPrimitiveSerializer).q5c = function (encoder, value) {
|
|
836
836
|
verify(encoder);
|
|
837
837
|
var tmp;
|
|
838
838
|
if (value instanceof JsonNull) {
|
|
839
|
-
encoder.
|
|
839
|
+
encoder.m22(JsonNullSerializer_getInstance(), JsonNull_getInstance());
|
|
840
840
|
tmp = Unit_instance;
|
|
841
841
|
} else {
|
|
842
842
|
var tmp_0 = JsonLiteralSerializer_getInstance();
|
|
843
|
-
encoder.
|
|
843
|
+
encoder.m22(tmp_0, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
844
844
|
tmp = Unit_instance;
|
|
845
845
|
}
|
|
846
846
|
return tmp;
|
|
847
847
|
};
|
|
848
|
-
protoOf(JsonPrimitiveSerializer).
|
|
848
|
+
protoOf(JsonPrimitiveSerializer).i1x = function (encoder, value) {
|
|
849
849
|
return this.q5c(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
850
850
|
};
|
|
851
|
-
protoOf(JsonPrimitiveSerializer).
|
|
851
|
+
protoOf(JsonPrimitiveSerializer).j1x = function (decoder) {
|
|
852
852
|
var result = asJsonDecoder(decoder).u5b();
|
|
853
853
|
if (!(result instanceof JsonPrimitive))
|
|
854
854
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
@@ -864,22 +864,22 @@
|
|
|
864
864
|
JsonNullSerializer_instance = this;
|
|
865
865
|
this.k5c_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
866
866
|
}
|
|
867
|
-
protoOf(JsonNullSerializer).
|
|
867
|
+
protoOf(JsonNullSerializer).h1x = function () {
|
|
868
868
|
return this.k5c_1;
|
|
869
869
|
};
|
|
870
870
|
protoOf(JsonNullSerializer).r5c = function (encoder, value) {
|
|
871
871
|
verify(encoder);
|
|
872
|
-
encoder.
|
|
872
|
+
encoder.p21();
|
|
873
873
|
};
|
|
874
|
-
protoOf(JsonNullSerializer).
|
|
874
|
+
protoOf(JsonNullSerializer).i1x = function (encoder, value) {
|
|
875
875
|
return this.r5c(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
876
876
|
};
|
|
877
|
-
protoOf(JsonNullSerializer).
|
|
877
|
+
protoOf(JsonNullSerializer).j1x = function (decoder) {
|
|
878
878
|
verify_0(decoder);
|
|
879
|
-
if (decoder.
|
|
879
|
+
if (decoder.f20()) {
|
|
880
880
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
881
881
|
}
|
|
882
|
-
decoder.
|
|
882
|
+
decoder.g20();
|
|
883
883
|
return JsonNull_getInstance();
|
|
884
884
|
};
|
|
885
885
|
var JsonNullSerializer_instance;
|
|
@@ -892,23 +892,23 @@
|
|
|
892
892
|
JsonLiteralSerializer_instance = this;
|
|
893
893
|
this.l5c_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
894
894
|
}
|
|
895
|
-
protoOf(JsonLiteralSerializer).
|
|
895
|
+
protoOf(JsonLiteralSerializer).h1x = function () {
|
|
896
896
|
return this.l5c_1;
|
|
897
897
|
};
|
|
898
898
|
protoOf(JsonLiteralSerializer).s5c = function (encoder, value) {
|
|
899
899
|
verify(encoder);
|
|
900
900
|
if (value.f5c_1) {
|
|
901
|
-
return encoder.
|
|
901
|
+
return encoder.y21(value.h5c_1);
|
|
902
902
|
}
|
|
903
903
|
if (!(value.g5c_1 == null)) {
|
|
904
|
-
return encoder.
|
|
904
|
+
return encoder.a22(value.g5c_1).y21(value.h5c_1);
|
|
905
905
|
}
|
|
906
906
|
var tmp0_safe_receiver = toLongOrNull(value.h5c_1);
|
|
907
907
|
if (tmp0_safe_receiver == null)
|
|
908
908
|
null;
|
|
909
909
|
else {
|
|
910
910
|
// Inline function 'kotlin.let' call
|
|
911
|
-
return encoder.
|
|
911
|
+
return encoder.u21(tmp0_safe_receiver);
|
|
912
912
|
}
|
|
913
913
|
var tmp1_safe_receiver = toULongOrNull(value.h5c_1);
|
|
914
914
|
var tmp = tmp1_safe_receiver;
|
|
@@ -918,10 +918,10 @@
|
|
|
918
918
|
var tmp_0 = tmp1_safe_receiver;
|
|
919
919
|
// Inline function 'kotlin.let' call
|
|
920
920
|
var it = (tmp_0 == null ? null : new ULong(tmp_0)).nn_1;
|
|
921
|
-
var tmp_1 = encoder.
|
|
921
|
+
var tmp_1 = encoder.a22(serializer_0(Companion_getInstance()).h1x());
|
|
922
922
|
// Inline function 'kotlin.ULong.toLong' call
|
|
923
923
|
var tmp$ret$1 = _ULong___get_data__impl__fggpzb(it);
|
|
924
|
-
tmp_1.
|
|
924
|
+
tmp_1.u21(tmp$ret$1);
|
|
925
925
|
return Unit_instance;
|
|
926
926
|
}
|
|
927
927
|
var tmp2_safe_receiver = toDoubleOrNull(value.h5c_1);
|
|
@@ -929,21 +929,21 @@
|
|
|
929
929
|
null;
|
|
930
930
|
else {
|
|
931
931
|
// Inline function 'kotlin.let' call
|
|
932
|
-
return encoder.
|
|
932
|
+
return encoder.w21(tmp2_safe_receiver);
|
|
933
933
|
}
|
|
934
934
|
var tmp3_safe_receiver = toBooleanStrictOrNull(value.h5c_1);
|
|
935
935
|
if (tmp3_safe_receiver == null)
|
|
936
936
|
null;
|
|
937
937
|
else {
|
|
938
938
|
// Inline function 'kotlin.let' call
|
|
939
|
-
return encoder.
|
|
939
|
+
return encoder.q21(tmp3_safe_receiver);
|
|
940
940
|
}
|
|
941
|
-
encoder.
|
|
941
|
+
encoder.y21(value.h5c_1);
|
|
942
942
|
};
|
|
943
|
-
protoOf(JsonLiteralSerializer).
|
|
943
|
+
protoOf(JsonLiteralSerializer).i1x = function (encoder, value) {
|
|
944
944
|
return this.s5c(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
945
945
|
};
|
|
946
|
-
protoOf(JsonLiteralSerializer).
|
|
946
|
+
protoOf(JsonLiteralSerializer).j1x = function (decoder) {
|
|
947
947
|
var result = asJsonDecoder(decoder).u5b();
|
|
948
948
|
if (!(result instanceof JsonLiteral))
|
|
949
949
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
@@ -957,20 +957,17 @@
|
|
|
957
957
|
}
|
|
958
958
|
function JsonObjectDescriptor() {
|
|
959
959
|
JsonObjectDescriptor_instance = this;
|
|
960
|
-
this.t5c_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).
|
|
960
|
+
this.t5c_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).h1x();
|
|
961
961
|
this.u5c_1 = 'kotlinx.serialization.json.JsonObject';
|
|
962
962
|
}
|
|
963
|
-
protoOf(JsonObjectDescriptor).
|
|
963
|
+
protoOf(JsonObjectDescriptor).i1y = function () {
|
|
964
964
|
return this.u5c_1;
|
|
965
965
|
};
|
|
966
|
-
protoOf(JsonObjectDescriptor).
|
|
967
|
-
return this.t5c_1.
|
|
966
|
+
protoOf(JsonObjectDescriptor).f1z = function (index) {
|
|
967
|
+
return this.t5c_1.f1z(index);
|
|
968
968
|
};
|
|
969
|
-
protoOf(JsonObjectDescriptor).
|
|
970
|
-
return this.t5c_1.
|
|
971
|
-
};
|
|
972
|
-
protoOf(JsonObjectDescriptor).g1z = function (index) {
|
|
973
|
-
return this.t5c_1.g1z(index);
|
|
969
|
+
protoOf(JsonObjectDescriptor).g1z = function (name) {
|
|
970
|
+
return this.t5c_1.g1z(name);
|
|
974
971
|
};
|
|
975
972
|
protoOf(JsonObjectDescriptor).h1z = function (index) {
|
|
976
973
|
return this.t5c_1.h1z(index);
|
|
@@ -978,21 +975,24 @@
|
|
|
978
975
|
protoOf(JsonObjectDescriptor).i1z = function (index) {
|
|
979
976
|
return this.t5c_1.i1z(index);
|
|
980
977
|
};
|
|
981
|
-
protoOf(JsonObjectDescriptor).
|
|
982
|
-
return this.t5c_1.
|
|
983
|
-
};
|
|
984
|
-
protoOf(JsonObjectDescriptor).t1y = function () {
|
|
985
|
-
return this.t5c_1.t1y();
|
|
978
|
+
protoOf(JsonObjectDescriptor).j1z = function (index) {
|
|
979
|
+
return this.t5c_1.j1z(index);
|
|
986
980
|
};
|
|
987
981
|
protoOf(JsonObjectDescriptor).b1z = function () {
|
|
988
982
|
return this.t5c_1.b1z();
|
|
989
983
|
};
|
|
984
|
+
protoOf(JsonObjectDescriptor).u1y = function () {
|
|
985
|
+
return this.t5c_1.u1y();
|
|
986
|
+
};
|
|
990
987
|
protoOf(JsonObjectDescriptor).c1z = function () {
|
|
991
988
|
return this.t5c_1.c1z();
|
|
992
989
|
};
|
|
993
990
|
protoOf(JsonObjectDescriptor).d1z = function () {
|
|
994
991
|
return this.t5c_1.d1z();
|
|
995
992
|
};
|
|
993
|
+
protoOf(JsonObjectDescriptor).e1z = function () {
|
|
994
|
+
return this.t5c_1.e1z();
|
|
995
|
+
};
|
|
996
996
|
var JsonObjectDescriptor_instance;
|
|
997
997
|
function JsonObjectDescriptor_getInstance() {
|
|
998
998
|
if (JsonObjectDescriptor_instance == null)
|
|
@@ -1003,19 +1003,19 @@
|
|
|
1003
1003
|
JsonObjectSerializer_instance = this;
|
|
1004
1004
|
this.m5c_1 = JsonObjectDescriptor_getInstance();
|
|
1005
1005
|
}
|
|
1006
|
-
protoOf(JsonObjectSerializer).
|
|
1006
|
+
protoOf(JsonObjectSerializer).h1x = function () {
|
|
1007
1007
|
return this.m5c_1;
|
|
1008
1008
|
};
|
|
1009
1009
|
protoOf(JsonObjectSerializer).v5c = function (encoder, value) {
|
|
1010
1010
|
verify(encoder);
|
|
1011
|
-
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).
|
|
1011
|
+
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).i1x(encoder, value);
|
|
1012
1012
|
};
|
|
1013
|
-
protoOf(JsonObjectSerializer).
|
|
1013
|
+
protoOf(JsonObjectSerializer).i1x = function (encoder, value) {
|
|
1014
1014
|
return this.v5c(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
1015
1015
|
};
|
|
1016
|
-
protoOf(JsonObjectSerializer).
|
|
1016
|
+
protoOf(JsonObjectSerializer).j1x = function (decoder) {
|
|
1017
1017
|
verify_0(decoder);
|
|
1018
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).
|
|
1018
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).j1x(decoder));
|
|
1019
1019
|
};
|
|
1020
1020
|
var JsonObjectSerializer_instance;
|
|
1021
1021
|
function JsonObjectSerializer_getInstance() {
|
|
@@ -1025,20 +1025,17 @@
|
|
|
1025
1025
|
}
|
|
1026
1026
|
function JsonArrayDescriptor() {
|
|
1027
1027
|
JsonArrayDescriptor_instance = this;
|
|
1028
|
-
this.w5c_1 = ListSerializer(JsonElementSerializer_getInstance()).
|
|
1028
|
+
this.w5c_1 = ListSerializer(JsonElementSerializer_getInstance()).h1x();
|
|
1029
1029
|
this.x5c_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1030
1030
|
}
|
|
1031
|
-
protoOf(JsonArrayDescriptor).
|
|
1031
|
+
protoOf(JsonArrayDescriptor).i1y = function () {
|
|
1032
1032
|
return this.x5c_1;
|
|
1033
1033
|
};
|
|
1034
|
-
protoOf(JsonArrayDescriptor).
|
|
1035
|
-
return this.w5c_1.
|
|
1036
|
-
};
|
|
1037
|
-
protoOf(JsonArrayDescriptor).f1z = function (name) {
|
|
1038
|
-
return this.w5c_1.f1z(name);
|
|
1034
|
+
protoOf(JsonArrayDescriptor).f1z = function (index) {
|
|
1035
|
+
return this.w5c_1.f1z(index);
|
|
1039
1036
|
};
|
|
1040
|
-
protoOf(JsonArrayDescriptor).g1z = function (
|
|
1041
|
-
return this.w5c_1.g1z(
|
|
1037
|
+
protoOf(JsonArrayDescriptor).g1z = function (name) {
|
|
1038
|
+
return this.w5c_1.g1z(name);
|
|
1042
1039
|
};
|
|
1043
1040
|
protoOf(JsonArrayDescriptor).h1z = function (index) {
|
|
1044
1041
|
return this.w5c_1.h1z(index);
|
|
@@ -1046,21 +1043,24 @@
|
|
|
1046
1043
|
protoOf(JsonArrayDescriptor).i1z = function (index) {
|
|
1047
1044
|
return this.w5c_1.i1z(index);
|
|
1048
1045
|
};
|
|
1049
|
-
protoOf(JsonArrayDescriptor).
|
|
1050
|
-
return this.w5c_1.
|
|
1051
|
-
};
|
|
1052
|
-
protoOf(JsonArrayDescriptor).t1y = function () {
|
|
1053
|
-
return this.w5c_1.t1y();
|
|
1046
|
+
protoOf(JsonArrayDescriptor).j1z = function (index) {
|
|
1047
|
+
return this.w5c_1.j1z(index);
|
|
1054
1048
|
};
|
|
1055
1049
|
protoOf(JsonArrayDescriptor).b1z = function () {
|
|
1056
1050
|
return this.w5c_1.b1z();
|
|
1057
1051
|
};
|
|
1052
|
+
protoOf(JsonArrayDescriptor).u1y = function () {
|
|
1053
|
+
return this.w5c_1.u1y();
|
|
1054
|
+
};
|
|
1058
1055
|
protoOf(JsonArrayDescriptor).c1z = function () {
|
|
1059
1056
|
return this.w5c_1.c1z();
|
|
1060
1057
|
};
|
|
1061
1058
|
protoOf(JsonArrayDescriptor).d1z = function () {
|
|
1062
1059
|
return this.w5c_1.d1z();
|
|
1063
1060
|
};
|
|
1061
|
+
protoOf(JsonArrayDescriptor).e1z = function () {
|
|
1062
|
+
return this.w5c_1.e1z();
|
|
1063
|
+
};
|
|
1064
1064
|
var JsonArrayDescriptor_instance;
|
|
1065
1065
|
function JsonArrayDescriptor_getInstance() {
|
|
1066
1066
|
if (JsonArrayDescriptor_instance == null)
|
|
@@ -1071,19 +1071,19 @@
|
|
|
1071
1071
|
JsonArraySerializer_instance = this;
|
|
1072
1072
|
this.n5c_1 = JsonArrayDescriptor_getInstance();
|
|
1073
1073
|
}
|
|
1074
|
-
protoOf(JsonArraySerializer).
|
|
1074
|
+
protoOf(JsonArraySerializer).h1x = function () {
|
|
1075
1075
|
return this.n5c_1;
|
|
1076
1076
|
};
|
|
1077
1077
|
protoOf(JsonArraySerializer).y5c = function (encoder, value) {
|
|
1078
1078
|
verify(encoder);
|
|
1079
|
-
ListSerializer(JsonElementSerializer_getInstance()).
|
|
1079
|
+
ListSerializer(JsonElementSerializer_getInstance()).i1x(encoder, value);
|
|
1080
1080
|
};
|
|
1081
|
-
protoOf(JsonArraySerializer).
|
|
1081
|
+
protoOf(JsonArraySerializer).i1x = function (encoder, value) {
|
|
1082
1082
|
return this.y5c(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1083
1083
|
};
|
|
1084
|
-
protoOf(JsonArraySerializer).
|
|
1084
|
+
protoOf(JsonArraySerializer).j1x = function (decoder) {
|
|
1085
1085
|
verify_0(decoder);
|
|
1086
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
1086
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).j1x(decoder));
|
|
1087
1087
|
};
|
|
1088
1088
|
var JsonArraySerializer_instance;
|
|
1089
1089
|
function JsonArraySerializer_getInstance() {
|
|
@@ -1132,23 +1132,20 @@
|
|
|
1132
1132
|
function defer$1($deferred) {
|
|
1133
1133
|
this.z5c_1 = lazy($deferred);
|
|
1134
1134
|
}
|
|
1135
|
-
protoOf(defer$1).
|
|
1136
|
-
return _get_original__l7ku1m(this).
|
|
1135
|
+
protoOf(defer$1).i1y = function () {
|
|
1136
|
+
return _get_original__l7ku1m(this).i1y();
|
|
1137
1137
|
};
|
|
1138
|
-
protoOf(defer$1).
|
|
1139
|
-
return _get_original__l7ku1m(this).
|
|
1138
|
+
protoOf(defer$1).b1z = function () {
|
|
1139
|
+
return _get_original__l7ku1m(this).b1z();
|
|
1140
1140
|
};
|
|
1141
|
-
protoOf(defer$1).
|
|
1142
|
-
return _get_original__l7ku1m(this).
|
|
1141
|
+
protoOf(defer$1).d1z = function () {
|
|
1142
|
+
return _get_original__l7ku1m(this).d1z();
|
|
1143
1143
|
};
|
|
1144
|
-
protoOf(defer$1).
|
|
1145
|
-
return _get_original__l7ku1m(this).
|
|
1144
|
+
protoOf(defer$1).f1z = function (index) {
|
|
1145
|
+
return _get_original__l7ku1m(this).f1z(index);
|
|
1146
1146
|
};
|
|
1147
|
-
protoOf(defer$1).
|
|
1148
|
-
return _get_original__l7ku1m(this).
|
|
1149
|
-
};
|
|
1150
|
-
protoOf(defer$1).g1z = function (index) {
|
|
1151
|
-
return _get_original__l7ku1m(this).g1z(index);
|
|
1147
|
+
protoOf(defer$1).g1z = function (name) {
|
|
1148
|
+
return _get_original__l7ku1m(this).g1z(name);
|
|
1152
1149
|
};
|
|
1153
1150
|
protoOf(defer$1).h1z = function (index) {
|
|
1154
1151
|
return _get_original__l7ku1m(this).h1z(index);
|
|
@@ -1156,6 +1153,9 @@
|
|
|
1156
1153
|
protoOf(defer$1).i1z = function (index) {
|
|
1157
1154
|
return _get_original__l7ku1m(this).i1z(index);
|
|
1158
1155
|
};
|
|
1156
|
+
protoOf(defer$1).j1z = function (index) {
|
|
1157
|
+
return _get_original__l7ku1m(this).j1z(index);
|
|
1158
|
+
};
|
|
1159
1159
|
function JsonEncoder() {
|
|
1160
1160
|
}
|
|
1161
1161
|
function Composer(writer) {
|
|
@@ -1306,7 +1306,7 @@
|
|
|
1306
1306
|
this.h5d(_Char___init__impl__6a9atx(32));
|
|
1307
1307
|
};
|
|
1308
1308
|
function readIfAbsent($this, descriptor, index) {
|
|
1309
|
-
$this.g5e_1 = (!descriptor.
|
|
1309
|
+
$this.g5e_1 = (!descriptor.j1z(index) && descriptor.i1z(index).u1y());
|
|
1310
1310
|
return $this.g5e_1;
|
|
1311
1311
|
}
|
|
1312
1312
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
@@ -1323,10 +1323,10 @@
|
|
|
1323
1323
|
this.g5e_1 = false;
|
|
1324
1324
|
}
|
|
1325
1325
|
protoOf(JsonElementMarker).h5e = function (index) {
|
|
1326
|
-
this.f5e_1.
|
|
1326
|
+
this.f5e_1.c27(index);
|
|
1327
1327
|
};
|
|
1328
1328
|
protoOf(JsonElementMarker).i5e = function () {
|
|
1329
|
-
return this.f5e_1.
|
|
1329
|
+
return this.f5e_1.d27();
|
|
1330
1330
|
};
|
|
1331
1331
|
function JsonDecodingException(message) {
|
|
1332
1332
|
JsonException.call(this, message);
|
|
@@ -1381,7 +1381,7 @@
|
|
|
1381
1381
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
1382
1382
|
}
|
|
1383
1383
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1384
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
1384
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.i1y() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.b1z().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
1385
1385
|
}
|
|
1386
1386
|
function unexpectedFpErrorMessage(value, key, output) {
|
|
1387
1387
|
return 'Unexpected special floating-point value ' + toString(value) + ' with key ' + key + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output)));
|
|
@@ -1402,7 +1402,7 @@
|
|
|
1402
1402
|
if (json.q59_1.c5b_1) {
|
|
1403
1403
|
tmp = true;
|
|
1404
1404
|
} else {
|
|
1405
|
-
var tmp0 = _this__u8e3s4.
|
|
1405
|
+
var tmp0 = _this__u8e3s4.e1z();
|
|
1406
1406
|
var tmp$ret$0;
|
|
1407
1407
|
$l$block_0: {
|
|
1408
1408
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -1441,7 +1441,7 @@
|
|
|
1441
1441
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1442
1442
|
if (!(strategy == null))
|
|
1443
1443
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1444
|
-
var index = _this__u8e3s4.
|
|
1444
|
+
var index = _this__u8e3s4.g1z(name);
|
|
1445
1445
|
if (!(index === -3))
|
|
1446
1446
|
return index;
|
|
1447
1447
|
if (!json.q59_1.m5b_1)
|
|
@@ -1453,17 +1453,17 @@
|
|
|
1453
1453
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1454
1454
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1455
1455
|
if (index === -3)
|
|
1456
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1456
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.i1y() + " does not contain element with name '" + name + "'" + suffix);
|
|
1457
1457
|
return index;
|
|
1458
1458
|
}
|
|
1459
1459
|
function getJsonElementName(_this__u8e3s4, json, index) {
|
|
1460
1460
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1461
1461
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1462
|
-
return strategy == null ? _this__u8e3s4.
|
|
1462
|
+
return strategy == null ? _this__u8e3s4.f1z(index) : serializationNamesIndices(_this__u8e3s4, json, strategy)[index];
|
|
1463
1463
|
}
|
|
1464
1464
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1465
1465
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1466
|
-
return equals(_this__u8e3s4.
|
|
1466
|
+
return equals(_this__u8e3s4.b1z(), CLASS_getInstance()) ? json.q59_1.n5b_1 : null;
|
|
1467
1467
|
}
|
|
1468
1468
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1469
1469
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1473,7 +1473,7 @@
|
|
|
1473
1473
|
}
|
|
1474
1474
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1475
1475
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1476
|
-
return _this__u8e3s4.q59_1.o5b_1 && equals(descriptor.
|
|
1476
|
+
return _this__u8e3s4.q59_1.o5b_1 && equals(descriptor.b1z(), ENUM_getInstance());
|
|
1477
1477
|
}
|
|
1478
1478
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1479
1479
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1493,13 +1493,13 @@
|
|
|
1493
1493
|
var useLowercaseEnums = decodeCaseInsensitive(json, _this__u8e3s4);
|
|
1494
1494
|
var strategyForClasses = namingStrategy(_this__u8e3s4, json);
|
|
1495
1495
|
var inductionVariable = 0;
|
|
1496
|
-
var last = _this__u8e3s4.
|
|
1496
|
+
var last = _this__u8e3s4.d1z();
|
|
1497
1497
|
if (inductionVariable < last)
|
|
1498
1498
|
do {
|
|
1499
1499
|
var i = inductionVariable;
|
|
1500
1500
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1501
1501
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1502
|
-
var tmp0 = _this__u8e3s4.
|
|
1502
|
+
var tmp0 = _this__u8e3s4.h1z(i);
|
|
1503
1503
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1504
1504
|
var destination = ArrayList_init_$Create$();
|
|
1505
1505
|
var _iterator__ex2g4s = tmp0.r();
|
|
@@ -1535,9 +1535,9 @@
|
|
|
1535
1535
|
if (useLowercaseEnums) {
|
|
1536
1536
|
// Inline function 'kotlin.text.lowercase' call
|
|
1537
1537
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1538
|
-
tmp_0 = _this__u8e3s4.
|
|
1538
|
+
tmp_0 = _this__u8e3s4.f1z(i).toLowerCase();
|
|
1539
1539
|
} else if (!(strategyForClasses == null)) {
|
|
1540
|
-
tmp_0 = strategyForClasses.o5e(_this__u8e3s4, i, _this__u8e3s4.
|
|
1540
|
+
tmp_0 = strategyForClasses.o5e(_this__u8e3s4, i, _this__u8e3s4.f1z(i));
|
|
1541
1541
|
} else {
|
|
1542
1542
|
tmp_0 = null;
|
|
1543
1543
|
}
|
|
@@ -1560,11 +1560,11 @@
|
|
|
1560
1560
|
return tmp_1;
|
|
1561
1561
|
}
|
|
1562
1562
|
function buildDeserializationNamesMap$putOrThrow(_this__u8e3s4, $this_buildDeserializationNamesMap, name, index) {
|
|
1563
|
-
var entity = equals($this_buildDeserializationNamesMap.
|
|
1563
|
+
var entity = equals($this_buildDeserializationNamesMap.b1z(), ENUM_getInstance()) ? 'enum value' : 'property';
|
|
1564
1564
|
// Inline function 'kotlin.collections.contains' call
|
|
1565
1565
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1566
1566
|
if ((isInterface(_this__u8e3s4, KtMap) ? _this__u8e3s4 : THROW_CCE()).m2(name)) {
|
|
1567
|
-
throw new JsonException("The suggested name '" + name + "' for " + entity + ' ' + $this_buildDeserializationNamesMap.
|
|
1567
|
+
throw new JsonException("The suggested name '" + name + "' for " + entity + ' ' + $this_buildDeserializationNamesMap.f1z(index) + ' is already one of the names for ' + entity + ' ' + ($this_buildDeserializationNamesMap.f1z(getValue(_this__u8e3s4, name)) + ' in ' + toString($this_buildDeserializationNamesMap)));
|
|
1568
1568
|
}
|
|
1569
1569
|
// Inline function 'kotlin.collections.set' call
|
|
1570
1570
|
_this__u8e3s4.g2(name, index);
|
|
@@ -1577,12 +1577,12 @@
|
|
|
1577
1577
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
1578
1578
|
return function () {
|
|
1579
1579
|
var tmp = 0;
|
|
1580
|
-
var tmp_0 = $this_serializationNamesIndices.
|
|
1580
|
+
var tmp_0 = $this_serializationNamesIndices.d1z();
|
|
1581
1581
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1582
1582
|
var tmp_1 = Array(tmp_0);
|
|
1583
1583
|
while (tmp < tmp_0) {
|
|
1584
1584
|
var tmp_2 = tmp;
|
|
1585
|
-
var baseName = $this_serializationNamesIndices.
|
|
1585
|
+
var baseName = $this_serializationNamesIndices.f1z(tmp_2);
|
|
1586
1586
|
tmp_1[tmp_2] = $strategy.o5e($this_serializationNamesIndices, tmp_2, baseName);
|
|
1587
1587
|
tmp = tmp + 1 | 0;
|
|
1588
1588
|
}
|
|
@@ -1692,7 +1692,7 @@
|
|
|
1692
1692
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1693
1693
|
var element = this.p5e_1[index];
|
|
1694
1694
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1695
|
-
if (equals(element.
|
|
1695
|
+
if (equals(element.b1z(), LIST_getInstance())) {
|
|
1696
1696
|
if (!(this.q5e_1[index] === -1)) {
|
|
1697
1697
|
this_0.f8('[');
|
|
1698
1698
|
this_0.pc(this.q5e_1[index]);
|
|
@@ -1702,7 +1702,7 @@
|
|
|
1702
1702
|
var idx = this.q5e_1[index];
|
|
1703
1703
|
if (idx >= 0) {
|
|
1704
1704
|
this_0.f8('.');
|
|
1705
|
-
this_0.f8(element.
|
|
1705
|
+
this_0.f8(element.f1z(idx));
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
1708
|
} else {
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
return this.x5e();
|
|
1723
1723
|
};
|
|
1724
1724
|
function checkKind($this, descriptor, actualClass) {
|
|
1725
|
-
var kind = descriptor.
|
|
1725
|
+
var kind = descriptor.b1z();
|
|
1726
1726
|
var tmp;
|
|
1727
1727
|
if (kind instanceof PolymorphicKind) {
|
|
1728
1728
|
tmp = true;
|
|
@@ -1754,12 +1754,12 @@
|
|
|
1754
1754
|
}
|
|
1755
1755
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
1756
1756
|
var inductionVariable = 0;
|
|
1757
|
-
var last = descriptor.
|
|
1757
|
+
var last = descriptor.d1z();
|
|
1758
1758
|
if (inductionVariable < last)
|
|
1759
1759
|
do {
|
|
1760
1760
|
var i = inductionVariable;
|
|
1761
1761
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1762
|
-
var name = descriptor.
|
|
1762
|
+
var name = descriptor.f1z(i);
|
|
1763
1763
|
if (name === $this.y5e_1) {
|
|
1764
1764
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
|
|
1765
1765
|
}
|
|
@@ -1771,18 +1771,18 @@
|
|
|
1771
1771
|
this.z5e_1 = configuration.j5b_1;
|
|
1772
1772
|
this.a5f_1 = !configuration.r5b_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1773
1773
|
}
|
|
1774
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1774
|
+
protoOf(JsonSerializersModuleValidator).o2h = function (kClass, provider) {
|
|
1775
1775
|
};
|
|
1776
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1777
|
-
var descriptor = actualSerializer.
|
|
1776
|
+
protoOf(JsonSerializersModuleValidator).r2h = function (baseClass, actualClass, actualSerializer) {
|
|
1777
|
+
var descriptor = actualSerializer.h1x();
|
|
1778
1778
|
checkKind(this, descriptor, actualClass);
|
|
1779
1779
|
if (!this.z5e_1 && this.a5f_1) {
|
|
1780
1780
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1781
1781
|
}
|
|
1782
1782
|
};
|
|
1783
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1783
|
+
protoOf(JsonSerializersModuleValidator).s2h = function (baseClass, defaultSerializerProvider) {
|
|
1784
1784
|
};
|
|
1785
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1785
|
+
protoOf(JsonSerializersModuleValidator).t2h = function (baseClass, defaultDeserializerProvider) {
|
|
1786
1786
|
};
|
|
1787
1787
|
function encodeByWriter(json, writer, serializer, value) {
|
|
1788
1788
|
var tmp = WriteMode_OBJ_getInstance();
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
var size = get_entries().u();
|
|
1791
1791
|
var tmp$ret$0 = Array(size);
|
|
1792
1792
|
var encoder = StreamingJsonEncoder_init_$Create$(writer, json, tmp, tmp$ret$0);
|
|
1793
|
-
encoder.
|
|
1793
|
+
encoder.m22(serializer, value);
|
|
1794
1794
|
}
|
|
1795
1795
|
function readObject($this) {
|
|
1796
1796
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
@@ -2084,7 +2084,7 @@
|
|
|
2084
2084
|
return tmp;
|
|
2085
2085
|
};
|
|
2086
2086
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
2087
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
2087
|
+
var _iterator__ex2g4s = _this__u8e3s4.e1z().r();
|
|
2088
2088
|
while (_iterator__ex2g4s.s()) {
|
|
2089
2089
|
var annotation = _iterator__ex2g4s.t();
|
|
2090
2090
|
if (annotation instanceof JsonClassDiscriminator)
|
|
@@ -2095,9 +2095,9 @@
|
|
|
2095
2095
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2096
2096
|
if (!(serializer instanceof SealedClassSerializer))
|
|
2097
2097
|
return Unit_instance;
|
|
2098
|
-
if (jsonCachedSerialNames(actualSerializer.
|
|
2099
|
-
var baseName = serializer.
|
|
2100
|
-
var actualName = actualSerializer.
|
|
2098
|
+
if (jsonCachedSerialNames(actualSerializer.h1x()).u1(classDiscriminator)) {
|
|
2099
|
+
var baseName = serializer.h1x().i1y();
|
|
2100
|
+
var actualName = actualSerializer.h1x().i1y();
|
|
2101
2101
|
// Inline function 'kotlin.error' call
|
|
2102
2102
|
var message = "Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because" + (" it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. ") + 'You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism';
|
|
2103
2103
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
@@ -2182,7 +2182,7 @@
|
|
|
2182
2182
|
return false;
|
|
2183
2183
|
}
|
|
2184
2184
|
function skipLeftoverElements($this, descriptor) {
|
|
2185
|
-
while (!($this.
|
|
2185
|
+
while (!($this.l21(descriptor) === -1)) {
|
|
2186
2186
|
}
|
|
2187
2187
|
}
|
|
2188
2188
|
function checkLeadingComma($this) {
|
|
@@ -2238,10 +2238,10 @@
|
|
|
2238
2238
|
var tmp$ret$1;
|
|
2239
2239
|
$l$block_2: {
|
|
2240
2240
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2241
|
-
var isOptional = descriptor.
|
|
2242
|
-
var elementDescriptor = descriptor.
|
|
2241
|
+
var isOptional = descriptor.j1z(index);
|
|
2242
|
+
var elementDescriptor = descriptor.i1z(index);
|
|
2243
2243
|
var tmp;
|
|
2244
|
-
if (isOptional && !elementDescriptor.
|
|
2244
|
+
if (isOptional && !elementDescriptor.u1y()) {
|
|
2245
2245
|
tmp = $this.x59_1.c5h(true);
|
|
2246
2246
|
} else {
|
|
2247
2247
|
tmp = false;
|
|
@@ -2250,9 +2250,9 @@
|
|
|
2250
2250
|
tmp$ret$1 = true;
|
|
2251
2251
|
break $l$block_2;
|
|
2252
2252
|
}
|
|
2253
|
-
if (equals(elementDescriptor.
|
|
2253
|
+
if (equals(elementDescriptor.b1z(), ENUM_getInstance())) {
|
|
2254
2254
|
var tmp_0;
|
|
2255
|
-
if (elementDescriptor.
|
|
2255
|
+
if (elementDescriptor.u1y()) {
|
|
2256
2256
|
tmp_0 = $this.x59_1.c5h(false);
|
|
2257
2257
|
} else {
|
|
2258
2258
|
tmp_0 = false;
|
|
@@ -2271,7 +2271,7 @@
|
|
|
2271
2271
|
}
|
|
2272
2272
|
var enumValue = tmp_1;
|
|
2273
2273
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2274
|
-
var coerceToNull = !tmp0.q59_1.g5b_1 && elementDescriptor.
|
|
2274
|
+
var coerceToNull = !tmp0.q59_1.g5b_1 && elementDescriptor.u1y();
|
|
2275
2275
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2276
2276
|
$this.x59_1.r5f();
|
|
2277
2277
|
tmp$ret$1 = true;
|
|
@@ -2360,7 +2360,7 @@
|
|
|
2360
2360
|
this.v59_1 = json;
|
|
2361
2361
|
this.w59_1 = mode;
|
|
2362
2362
|
this.x59_1 = lexer;
|
|
2363
|
-
this.y59_1 = this.v59_1.
|
|
2363
|
+
this.y59_1 = this.v59_1.j21();
|
|
2364
2364
|
this.z59_1 = -1;
|
|
2365
2365
|
this.a5a_1 = discriminatorHolder;
|
|
2366
2366
|
this.b5a_1 = this.v59_1.q59_1;
|
|
@@ -2369,13 +2369,13 @@
|
|
|
2369
2369
|
protoOf(StreamingJsonDecoder).t5b = function () {
|
|
2370
2370
|
return this.v59_1;
|
|
2371
2371
|
};
|
|
2372
|
-
protoOf(StreamingJsonDecoder).
|
|
2372
|
+
protoOf(StreamingJsonDecoder).j21 = function () {
|
|
2373
2373
|
return this.y59_1;
|
|
2374
2374
|
};
|
|
2375
2375
|
protoOf(StreamingJsonDecoder).u5b = function () {
|
|
2376
2376
|
return (new JsonTreeReader(this.v59_1.q59_1, this.x59_1)).t5f();
|
|
2377
2377
|
};
|
|
2378
|
-
protoOf(StreamingJsonDecoder).
|
|
2378
|
+
protoOf(StreamingJsonDecoder).t20 = function (deserializer) {
|
|
2379
2379
|
try {
|
|
2380
2380
|
var tmp;
|
|
2381
2381
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
@@ -2384,9 +2384,9 @@
|
|
|
2384
2384
|
tmp = this.v59_1.q59_1.j5b_1;
|
|
2385
2385
|
}
|
|
2386
2386
|
if (tmp) {
|
|
2387
|
-
return deserializer.
|
|
2387
|
+
return deserializer.j1x(this);
|
|
2388
2388
|
}
|
|
2389
|
-
var discriminator = classDiscriminator(deserializer.
|
|
2389
|
+
var discriminator = classDiscriminator(deserializer.h1x(), this.v59_1);
|
|
2390
2390
|
var tmp0_elvis_lhs = this.x59_1.i5h(discriminator, this.b5a_1.d5b_1);
|
|
2391
2391
|
var tmp_0;
|
|
2392
2392
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2401,13 +2401,13 @@
|
|
|
2401
2401
|
tmp_1 = this.t5b().q59_1.j5b_1;
|
|
2402
2402
|
}
|
|
2403
2403
|
if (tmp_1) {
|
|
2404
|
-
tmp$ret$0 = tmp2.
|
|
2404
|
+
tmp$ret$0 = tmp2.j1x(this);
|
|
2405
2405
|
break $l$block;
|
|
2406
2406
|
}
|
|
2407
|
-
var discriminator_0 = classDiscriminator(tmp2.
|
|
2407
|
+
var discriminator_0 = classDiscriminator(tmp2.h1x(), this.t5b());
|
|
2408
2408
|
var tmp0 = this.u5b();
|
|
2409
2409
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2410
|
-
var serialName = tmp2.
|
|
2410
|
+
var serialName = tmp2.h1x().i1y();
|
|
2411
2411
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2412
2412
|
var tmp_2 = getKClass(JsonObject).va();
|
|
2413
2413
|
var tmp_3 = getKClassFromExpression(tmp0).va();
|
|
@@ -2415,7 +2415,7 @@
|
|
|
2415
2415
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2416
2416
|
}
|
|
2417
2417
|
var jsonTree = tmp0;
|
|
2418
|
-
var tmp0_safe_receiver = jsonTree.
|
|
2418
|
+
var tmp0_safe_receiver = jsonTree.r2k(discriminator_0);
|
|
2419
2419
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2420
2420
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
2421
2421
|
var tmp_4;
|
|
@@ -2457,19 +2457,19 @@
|
|
|
2457
2457
|
var tmp_9 = tmp_7;
|
|
2458
2458
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2459
2459
|
this.a5a_1 = new DiscriminatorHolder(discriminator);
|
|
2460
|
-
return actualSerializer_0.
|
|
2460
|
+
return actualSerializer_0.j1x(this);
|
|
2461
2461
|
} catch ($p) {
|
|
2462
2462
|
if ($p instanceof MissingFieldException) {
|
|
2463
2463
|
var e = $p;
|
|
2464
2464
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2465
2465
|
throw e;
|
|
2466
|
-
throw new MissingFieldException(e.
|
|
2466
|
+
throw new MissingFieldException(e.o1y_1, plus(e.message, ' at path: ') + this.x59_1.e5a_1.x5e(), e);
|
|
2467
2467
|
} else {
|
|
2468
2468
|
throw $p;
|
|
2469
2469
|
}
|
|
2470
2470
|
}
|
|
2471
2471
|
};
|
|
2472
|
-
protoOf(StreamingJsonDecoder).
|
|
2472
|
+
protoOf(StreamingJsonDecoder).u20 = function (descriptor) {
|
|
2473
2473
|
var newMode = switchMode(this.v59_1, descriptor);
|
|
2474
2474
|
this.x59_1.e5a_1.s5e(descriptor);
|
|
2475
2475
|
this.x59_1.a5h(newMode.l5h_1);
|
|
@@ -2494,8 +2494,8 @@
|
|
|
2494
2494
|
}
|
|
2495
2495
|
return tmp;
|
|
2496
2496
|
};
|
|
2497
|
-
protoOf(StreamingJsonDecoder).
|
|
2498
|
-
if (descriptor.
|
|
2497
|
+
protoOf(StreamingJsonDecoder).v20 = function (descriptor) {
|
|
2498
|
+
if (descriptor.d1z() === 0 && ignoreUnknownKeys(descriptor, this.v59_1)) {
|
|
2499
2499
|
skipLeftoverElements(this, descriptor);
|
|
2500
2500
|
}
|
|
2501
2501
|
if (this.x59_1.b5h() && !this.v59_1.q59_1.p5b_1) {
|
|
@@ -2504,7 +2504,7 @@
|
|
|
2504
2504
|
this.x59_1.a5h(this.w59_1.m5h_1);
|
|
2505
2505
|
this.x59_1.e5a_1.w5e();
|
|
2506
2506
|
};
|
|
2507
|
-
protoOf(StreamingJsonDecoder).
|
|
2507
|
+
protoOf(StreamingJsonDecoder).f20 = function () {
|
|
2508
2508
|
var tmp;
|
|
2509
2509
|
var tmp0_safe_receiver = this.c5a_1;
|
|
2510
2510
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g5e_1;
|
|
@@ -2515,21 +2515,21 @@
|
|
|
2515
2515
|
}
|
|
2516
2516
|
return tmp;
|
|
2517
2517
|
};
|
|
2518
|
-
protoOf(StreamingJsonDecoder).
|
|
2518
|
+
protoOf(StreamingJsonDecoder).g20 = function () {
|
|
2519
2519
|
return null;
|
|
2520
2520
|
};
|
|
2521
|
-
protoOf(StreamingJsonDecoder).
|
|
2521
|
+
protoOf(StreamingJsonDecoder).g21 = function (descriptor, index, deserializer, previousValue) {
|
|
2522
2522
|
var isMapKey = this.w59_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2523
2523
|
if (isMapKey) {
|
|
2524
2524
|
this.x59_1.e5a_1.v5e();
|
|
2525
2525
|
}
|
|
2526
|
-
var value = protoOf(AbstractDecoder).
|
|
2526
|
+
var value = protoOf(AbstractDecoder).g21.call(this, descriptor, index, deserializer, previousValue);
|
|
2527
2527
|
if (isMapKey) {
|
|
2528
2528
|
this.x59_1.e5a_1.u5e(value);
|
|
2529
2529
|
}
|
|
2530
2530
|
return value;
|
|
2531
2531
|
};
|
|
2532
|
-
protoOf(StreamingJsonDecoder).
|
|
2532
|
+
protoOf(StreamingJsonDecoder).l21 = function (descriptor) {
|
|
2533
2533
|
var index;
|
|
2534
2534
|
switch (this.w59_1.s2_1) {
|
|
2535
2535
|
case 0:
|
|
@@ -2547,34 +2547,34 @@
|
|
|
2547
2547
|
}
|
|
2548
2548
|
return index;
|
|
2549
2549
|
};
|
|
2550
|
-
protoOf(StreamingJsonDecoder).
|
|
2550
|
+
protoOf(StreamingJsonDecoder).h20 = function () {
|
|
2551
2551
|
return this.x59_1.o5h();
|
|
2552
2552
|
};
|
|
2553
|
-
protoOf(StreamingJsonDecoder).
|
|
2553
|
+
protoOf(StreamingJsonDecoder).i20 = function () {
|
|
2554
2554
|
var value = this.x59_1.p5h();
|
|
2555
2555
|
if (!equalsLong(value, fromInt(convertToByte(value)))) {
|
|
2556
2556
|
this.x59_1.k5e("Failed to parse byte for input '" + value.toString() + "'");
|
|
2557
2557
|
}
|
|
2558
2558
|
return convertToByte(value);
|
|
2559
2559
|
};
|
|
2560
|
-
protoOf(StreamingJsonDecoder).
|
|
2560
|
+
protoOf(StreamingJsonDecoder).j20 = function () {
|
|
2561
2561
|
var value = this.x59_1.p5h();
|
|
2562
2562
|
if (!equalsLong(value, fromInt(convertToShort(value)))) {
|
|
2563
2563
|
this.x59_1.k5e("Failed to parse short for input '" + value.toString() + "'");
|
|
2564
2564
|
}
|
|
2565
2565
|
return convertToShort(value);
|
|
2566
2566
|
};
|
|
2567
|
-
protoOf(StreamingJsonDecoder).
|
|
2567
|
+
protoOf(StreamingJsonDecoder).k20 = function () {
|
|
2568
2568
|
var value = this.x59_1.p5h();
|
|
2569
2569
|
if (!equalsLong(value, fromInt(convertToInt(value)))) {
|
|
2570
2570
|
this.x59_1.k5e("Failed to parse int for input '" + value.toString() + "'");
|
|
2571
2571
|
}
|
|
2572
2572
|
return convertToInt(value);
|
|
2573
2573
|
};
|
|
2574
|
-
protoOf(StreamingJsonDecoder).
|
|
2574
|
+
protoOf(StreamingJsonDecoder).l20 = function () {
|
|
2575
2575
|
return this.x59_1.p5h();
|
|
2576
2576
|
};
|
|
2577
|
-
protoOf(StreamingJsonDecoder).
|
|
2577
|
+
protoOf(StreamingJsonDecoder).m20 = function () {
|
|
2578
2578
|
var tmp0 = this.x59_1;
|
|
2579
2579
|
var tmp$ret$4;
|
|
2580
2580
|
$l$block: {
|
|
@@ -2601,7 +2601,7 @@
|
|
|
2601
2601
|
return result;
|
|
2602
2602
|
throwInvalidFloatingPointDecoded(this.x59_1, result);
|
|
2603
2603
|
};
|
|
2604
|
-
protoOf(StreamingJsonDecoder).
|
|
2604
|
+
protoOf(StreamingJsonDecoder).n20 = function () {
|
|
2605
2605
|
var tmp0 = this.x59_1;
|
|
2606
2606
|
var tmp$ret$1;
|
|
2607
2607
|
$l$block: {
|
|
@@ -2625,14 +2625,14 @@
|
|
|
2625
2625
|
return result;
|
|
2626
2626
|
throwInvalidFloatingPointDecoded(this.x59_1, result);
|
|
2627
2627
|
};
|
|
2628
|
-
protoOf(StreamingJsonDecoder).
|
|
2628
|
+
protoOf(StreamingJsonDecoder).o20 = function () {
|
|
2629
2629
|
var string = this.x59_1.s5f();
|
|
2630
2630
|
if (!(string.length === 1)) {
|
|
2631
2631
|
this.x59_1.k5e("Expected single char, but got '" + string + "'");
|
|
2632
2632
|
}
|
|
2633
2633
|
return charCodeAt(string, 0);
|
|
2634
2634
|
};
|
|
2635
|
-
protoOf(StreamingJsonDecoder).
|
|
2635
|
+
protoOf(StreamingJsonDecoder).p20 = function () {
|
|
2636
2636
|
var tmp;
|
|
2637
2637
|
if (this.b5a_1.d5b_1) {
|
|
2638
2638
|
tmp = this.x59_1.h5h();
|
|
@@ -2641,25 +2641,25 @@
|
|
|
2641
2641
|
}
|
|
2642
2642
|
return tmp;
|
|
2643
2643
|
};
|
|
2644
|
-
protoOf(StreamingJsonDecoder).
|
|
2645
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.x59_1, this.v59_1) : protoOf(AbstractDecoder).
|
|
2644
|
+
protoOf(StreamingJsonDecoder).r20 = function (descriptor) {
|
|
2645
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.x59_1, this.v59_1) : protoOf(AbstractDecoder).r20.call(this, descriptor);
|
|
2646
2646
|
};
|
|
2647
|
-
protoOf(StreamingJsonDecoder).
|
|
2648
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.v59_1, this.
|
|
2647
|
+
protoOf(StreamingJsonDecoder).q20 = function (enumDescriptor) {
|
|
2648
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.v59_1, this.p20(), ' at path ' + this.x59_1.e5a_1.x5e());
|
|
2649
2649
|
};
|
|
2650
2650
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2651
2651
|
AbstractDecoder.call(this);
|
|
2652
2652
|
this.q5h_1 = lexer;
|
|
2653
|
-
this.r5h_1 = json.
|
|
2653
|
+
this.r5h_1 = json.j21();
|
|
2654
2654
|
}
|
|
2655
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2655
|
+
protoOf(JsonDecoderForUnsignedTypes).j21 = function () {
|
|
2656
2656
|
return this.r5h_1;
|
|
2657
2657
|
};
|
|
2658
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2658
|
+
protoOf(JsonDecoderForUnsignedTypes).l21 = function (descriptor) {
|
|
2659
2659
|
var message = 'unsupported';
|
|
2660
2660
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2661
2661
|
};
|
|
2662
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2662
|
+
protoOf(JsonDecoderForUnsignedTypes).k20 = function () {
|
|
2663
2663
|
var tmp0 = this.q5h_1;
|
|
2664
2664
|
var tmp$ret$2;
|
|
2665
2665
|
$l$block: {
|
|
@@ -2681,7 +2681,7 @@
|
|
|
2681
2681
|
}
|
|
2682
2682
|
return tmp$ret$2;
|
|
2683
2683
|
};
|
|
2684
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2684
|
+
protoOf(JsonDecoderForUnsignedTypes).l20 = function () {
|
|
2685
2685
|
var tmp0 = this.q5h_1;
|
|
2686
2686
|
var tmp$ret$2;
|
|
2687
2687
|
$l$block: {
|
|
@@ -2703,7 +2703,7 @@
|
|
|
2703
2703
|
}
|
|
2704
2704
|
return tmp$ret$2;
|
|
2705
2705
|
};
|
|
2706
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2706
|
+
protoOf(JsonDecoderForUnsignedTypes).i20 = function () {
|
|
2707
2707
|
var tmp0 = this.q5h_1;
|
|
2708
2708
|
var tmp$ret$2;
|
|
2709
2709
|
$l$block: {
|
|
@@ -2725,7 +2725,7 @@
|
|
|
2725
2725
|
}
|
|
2726
2726
|
return tmp$ret$2;
|
|
2727
2727
|
};
|
|
2728
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2728
|
+
protoOf(JsonDecoderForUnsignedTypes).j20 = function () {
|
|
2729
2729
|
var tmp0 = this.q5h_1;
|
|
2730
2730
|
var tmp$ret$2;
|
|
2731
2731
|
$l$block: {
|
|
@@ -2761,10 +2761,10 @@
|
|
|
2761
2761
|
}
|
|
2762
2762
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2763
2763
|
$this.b5f_1.e5d();
|
|
2764
|
-
$this.
|
|
2764
|
+
$this.y21(discriminator);
|
|
2765
2765
|
$this.b5f_1.h5d(_Char___init__impl__6a9atx(58));
|
|
2766
2766
|
$this.b5f_1.g5d();
|
|
2767
|
-
$this.
|
|
2767
|
+
$this.y21(serialName);
|
|
2768
2768
|
}
|
|
2769
2769
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2770
2770
|
AbstractEncoder.call(this);
|
|
@@ -2772,7 +2772,7 @@
|
|
|
2772
2772
|
this.c5f_1 = json;
|
|
2773
2773
|
this.d5f_1 = mode;
|
|
2774
2774
|
this.e5f_1 = modeReuseCache;
|
|
2775
|
-
this.f5f_1 = this.c5f_1.
|
|
2775
|
+
this.f5f_1 = this.c5f_1.j21();
|
|
2776
2776
|
this.g5f_1 = this.c5f_1.q59_1;
|
|
2777
2777
|
this.h5f_1 = false;
|
|
2778
2778
|
this.i5f_1 = null;
|
|
@@ -2787,17 +2787,17 @@
|
|
|
2787
2787
|
protoOf(StreamingJsonEncoder).t5b = function () {
|
|
2788
2788
|
return this.c5f_1;
|
|
2789
2789
|
};
|
|
2790
|
-
protoOf(StreamingJsonEncoder).
|
|
2790
|
+
protoOf(StreamingJsonEncoder).j21 = function () {
|
|
2791
2791
|
return this.f5f_1;
|
|
2792
2792
|
};
|
|
2793
|
-
protoOf(StreamingJsonEncoder).
|
|
2793
|
+
protoOf(StreamingJsonEncoder).r22 = function (descriptor, index) {
|
|
2794
2794
|
return this.g5f_1.b5b_1;
|
|
2795
2795
|
};
|
|
2796
|
-
protoOf(StreamingJsonEncoder).
|
|
2796
|
+
protoOf(StreamingJsonEncoder).m22 = function (serializer, value) {
|
|
2797
2797
|
$l$block: {
|
|
2798
2798
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2799
2799
|
if (this.t5b().q59_1.j5b_1) {
|
|
2800
|
-
serializer.
|
|
2800
|
+
serializer.i1x(this, value);
|
|
2801
2801
|
break $l$block;
|
|
2802
2802
|
}
|
|
2803
2803
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
@@ -2814,7 +2814,7 @@
|
|
|
2814
2814
|
case 1:
|
|
2815
2815
|
// Inline function 'kotlin.let' call
|
|
2816
2816
|
|
|
2817
|
-
var it = serializer.
|
|
2817
|
+
var it = serializer.h1x().b1z();
|
|
2818
2818
|
tmp_0 = equals(it, CLASS_getInstance()) || equals(it, OBJECT_getInstance());
|
|
2819
2819
|
break;
|
|
2820
2820
|
default:
|
|
@@ -2824,14 +2824,14 @@
|
|
|
2824
2824
|
tmp = tmp_0;
|
|
2825
2825
|
}
|
|
2826
2826
|
var needDiscriminator = tmp;
|
|
2827
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.
|
|
2827
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.h1x(), this.t5b()) : null;
|
|
2828
2828
|
var tmp_1;
|
|
2829
2829
|
if (isPolymorphicSerializer) {
|
|
2830
2830
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
2831
2831
|
$l$block_0: {
|
|
2832
2832
|
// Inline function 'kotlin.requireNotNull' call
|
|
2833
2833
|
if (value == null) {
|
|
2834
|
-
var message = 'Value for serializer ' + toString(serializer.
|
|
2834
|
+
var message = 'Value for serializer ' + toString(serializer.h1x()) + ' should always be non-null. Please report issue to the kotlinx.serialization tracker.';
|
|
2835
2835
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2836
2836
|
} else {
|
|
2837
2837
|
break $l$block_0;
|
|
@@ -2840,7 +2840,7 @@
|
|
|
2840
2840
|
var actual = findPolymorphicSerializer_0(casted, this, value);
|
|
2841
2841
|
if (!(baseClassDiscriminator == null)) {
|
|
2842
2842
|
access$validateIfSealed$tPolymorphicKt(serializer, actual, baseClassDiscriminator);
|
|
2843
|
-
checkKind_0(actual.
|
|
2843
|
+
checkKind_0(actual.h1x().b1z());
|
|
2844
2844
|
}
|
|
2845
2845
|
tmp_1 = isInterface(actual, SerializationStrategy) ? actual : THROW_CCE();
|
|
2846
2846
|
} else {
|
|
@@ -2848,14 +2848,14 @@
|
|
|
2848
2848
|
}
|
|
2849
2849
|
var actualSerializer = tmp_1;
|
|
2850
2850
|
if (!(baseClassDiscriminator == null)) {
|
|
2851
|
-
var serialName = actualSerializer.
|
|
2851
|
+
var serialName = actualSerializer.h1x().i1y();
|
|
2852
2852
|
this.i5f_1 = baseClassDiscriminator;
|
|
2853
2853
|
this.j5f_1 = serialName;
|
|
2854
2854
|
}
|
|
2855
|
-
actualSerializer.
|
|
2855
|
+
actualSerializer.i1x(this, value);
|
|
2856
2856
|
}
|
|
2857
2857
|
};
|
|
2858
|
-
protoOf(StreamingJsonEncoder).
|
|
2858
|
+
protoOf(StreamingJsonEncoder).u20 = function (descriptor) {
|
|
2859
2859
|
var newMode = switchMode(this.c5f_1, descriptor);
|
|
2860
2860
|
if (!(newMode.l5h_1 === _Char___init__impl__6a9atx(0))) {
|
|
2861
2861
|
this.b5f_1.h5d(newMode.l5h_1);
|
|
@@ -2864,7 +2864,7 @@
|
|
|
2864
2864
|
var discriminator = this.i5f_1;
|
|
2865
2865
|
if (!(discriminator == null)) {
|
|
2866
2866
|
var tmp0_elvis_lhs = this.j5f_1;
|
|
2867
|
-
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.
|
|
2867
|
+
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.i1y() : tmp0_elvis_lhs);
|
|
2868
2868
|
this.i5f_1 = null;
|
|
2869
2869
|
this.j5f_1 = null;
|
|
2870
2870
|
}
|
|
@@ -2875,14 +2875,14 @@
|
|
|
2875
2875
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.s2_1];
|
|
2876
2876
|
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.b5f_1, this.c5f_1, newMode, this.e5f_1) : tmp2_elvis_lhs;
|
|
2877
2877
|
};
|
|
2878
|
-
protoOf(StreamingJsonEncoder).
|
|
2878
|
+
protoOf(StreamingJsonEncoder).v20 = function (descriptor) {
|
|
2879
2879
|
if (!(this.d5f_1.m5h_1 === _Char___init__impl__6a9atx(0))) {
|
|
2880
2880
|
this.b5f_1.d5d();
|
|
2881
2881
|
this.b5f_1.f5d();
|
|
2882
2882
|
this.b5f_1.h5d(this.d5f_1.m5h_1);
|
|
2883
2883
|
}
|
|
2884
2884
|
};
|
|
2885
|
-
protoOf(StreamingJsonEncoder).
|
|
2885
|
+
protoOf(StreamingJsonEncoder).n21 = function (descriptor, index) {
|
|
2886
2886
|
switch (this.d5f_1.s2_1) {
|
|
2887
2887
|
case 1:
|
|
2888
2888
|
if (!this.b5f_1.b5d_1) {
|
|
@@ -2927,19 +2927,19 @@
|
|
|
2927
2927
|
}
|
|
2928
2928
|
|
|
2929
2929
|
this.b5f_1.e5d();
|
|
2930
|
-
this.
|
|
2930
|
+
this.y21(getJsonElementName(descriptor, this.c5f_1, index));
|
|
2931
2931
|
this.b5f_1.h5d(_Char___init__impl__6a9atx(58));
|
|
2932
2932
|
this.b5f_1.g5d();
|
|
2933
2933
|
break;
|
|
2934
2934
|
}
|
|
2935
2935
|
return true;
|
|
2936
2936
|
};
|
|
2937
|
-
protoOf(StreamingJsonEncoder).
|
|
2937
|
+
protoOf(StreamingJsonEncoder).n22 = function (descriptor, index, serializer, value) {
|
|
2938
2938
|
if (!(value == null) || this.g5f_1.g5b_1) {
|
|
2939
|
-
protoOf(AbstractEncoder).
|
|
2939
|
+
protoOf(AbstractEncoder).n22.call(this, descriptor, index, serializer, value);
|
|
2940
2940
|
}
|
|
2941
2941
|
};
|
|
2942
|
-
protoOf(StreamingJsonEncoder).
|
|
2942
|
+
protoOf(StreamingJsonEncoder).a22 = function (descriptor) {
|
|
2943
2943
|
var tmp;
|
|
2944
2944
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2945
2945
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
@@ -2969,54 +2969,54 @@
|
|
|
2969
2969
|
tmp = new StreamingJsonEncoder(tmp$ret$3, this.c5f_1, this.d5f_1, null);
|
|
2970
2970
|
} else if (!(this.i5f_1 == null)) {
|
|
2971
2971
|
// Inline function 'kotlin.apply' call
|
|
2972
|
-
this.j5f_1 = descriptor.
|
|
2972
|
+
this.j5f_1 = descriptor.i1y();
|
|
2973
2973
|
tmp = this;
|
|
2974
2974
|
} else {
|
|
2975
|
-
tmp = protoOf(AbstractEncoder).
|
|
2975
|
+
tmp = protoOf(AbstractEncoder).a22.call(this, descriptor);
|
|
2976
2976
|
}
|
|
2977
2977
|
return tmp;
|
|
2978
2978
|
};
|
|
2979
|
-
protoOf(StreamingJsonEncoder).
|
|
2979
|
+
protoOf(StreamingJsonEncoder).p21 = function () {
|
|
2980
2980
|
this.b5f_1.j5d('null');
|
|
2981
2981
|
};
|
|
2982
|
-
protoOf(StreamingJsonEncoder).
|
|
2982
|
+
protoOf(StreamingJsonEncoder).q21 = function (value) {
|
|
2983
2983
|
if (this.h5f_1) {
|
|
2984
|
-
this.
|
|
2984
|
+
this.y21(value.toString());
|
|
2985
2985
|
} else {
|
|
2986
2986
|
this.b5f_1.s5d(value);
|
|
2987
2987
|
}
|
|
2988
2988
|
};
|
|
2989
|
-
protoOf(StreamingJsonEncoder).
|
|
2989
|
+
protoOf(StreamingJsonEncoder).r21 = function (value) {
|
|
2990
2990
|
if (this.h5f_1) {
|
|
2991
|
-
this.
|
|
2991
|
+
this.y21(value.toString());
|
|
2992
2992
|
} else {
|
|
2993
2993
|
this.b5f_1.n5d(value);
|
|
2994
2994
|
}
|
|
2995
2995
|
};
|
|
2996
|
-
protoOf(StreamingJsonEncoder).
|
|
2996
|
+
protoOf(StreamingJsonEncoder).s21 = function (value) {
|
|
2997
2997
|
if (this.h5f_1) {
|
|
2998
|
-
this.
|
|
2998
|
+
this.y21(value.toString());
|
|
2999
2999
|
} else {
|
|
3000
3000
|
this.b5f_1.p5d(value);
|
|
3001
3001
|
}
|
|
3002
3002
|
};
|
|
3003
|
-
protoOf(StreamingJsonEncoder).
|
|
3003
|
+
protoOf(StreamingJsonEncoder).t21 = function (value) {
|
|
3004
3004
|
if (this.h5f_1) {
|
|
3005
|
-
this.
|
|
3005
|
+
this.y21(value.toString());
|
|
3006
3006
|
} else {
|
|
3007
3007
|
this.b5f_1.q5d(value);
|
|
3008
3008
|
}
|
|
3009
3009
|
};
|
|
3010
|
-
protoOf(StreamingJsonEncoder).
|
|
3010
|
+
protoOf(StreamingJsonEncoder).u21 = function (value) {
|
|
3011
3011
|
if (this.h5f_1) {
|
|
3012
|
-
this.
|
|
3012
|
+
this.y21(value.toString());
|
|
3013
3013
|
} else {
|
|
3014
3014
|
this.b5f_1.r5d(value);
|
|
3015
3015
|
}
|
|
3016
3016
|
};
|
|
3017
|
-
protoOf(StreamingJsonEncoder).
|
|
3017
|
+
protoOf(StreamingJsonEncoder).v21 = function (value) {
|
|
3018
3018
|
if (this.h5f_1) {
|
|
3019
|
-
this.
|
|
3019
|
+
this.y21(value.toString());
|
|
3020
3020
|
} else {
|
|
3021
3021
|
this.b5f_1.l5d(value);
|
|
3022
3022
|
}
|
|
@@ -3024,9 +3024,9 @@
|
|
|
3024
3024
|
throw InvalidFloatingPointEncoded(value, toString(this.b5f_1.a5d_1));
|
|
3025
3025
|
}
|
|
3026
3026
|
};
|
|
3027
|
-
protoOf(StreamingJsonEncoder).
|
|
3027
|
+
protoOf(StreamingJsonEncoder).w21 = function (value) {
|
|
3028
3028
|
if (this.h5f_1) {
|
|
3029
|
-
this.
|
|
3029
|
+
this.y21(value.toString());
|
|
3030
3030
|
} else {
|
|
3031
3031
|
this.b5f_1.m5d(value);
|
|
3032
3032
|
}
|
|
@@ -3034,28 +3034,28 @@
|
|
|
3034
3034
|
throw InvalidFloatingPointEncoded(value, toString(this.b5f_1.a5d_1));
|
|
3035
3035
|
}
|
|
3036
3036
|
};
|
|
3037
|
-
protoOf(StreamingJsonEncoder).w21 = function (value) {
|
|
3038
|
-
this.x21(toString_1(value));
|
|
3039
|
-
};
|
|
3040
3037
|
protoOf(StreamingJsonEncoder).x21 = function (value) {
|
|
3038
|
+
this.y21(toString_1(value));
|
|
3039
|
+
};
|
|
3040
|
+
protoOf(StreamingJsonEncoder).y21 = function (value) {
|
|
3041
3041
|
return this.b5f_1.t5d(value);
|
|
3042
3042
|
};
|
|
3043
|
-
protoOf(StreamingJsonEncoder).
|
|
3044
|
-
this.
|
|
3043
|
+
protoOf(StreamingJsonEncoder).z21 = function (enumDescriptor, index) {
|
|
3044
|
+
this.y21(enumDescriptor.f1z(index));
|
|
3045
3045
|
};
|
|
3046
3046
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
3047
3047
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
3048
|
-
return _this__u8e3s4.
|
|
3048
|
+
return _this__u8e3s4.c1z() && get_unsignedNumberDescriptors().u1(_this__u8e3s4);
|
|
3049
3049
|
}
|
|
3050
3050
|
function get_isUnquotedLiteral(_this__u8e3s4) {
|
|
3051
3051
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
3052
|
-
return _this__u8e3s4.
|
|
3052
|
+
return _this__u8e3s4.c1z() && equals(_this__u8e3s4, get_jsonUnquotedLiteralDescriptor());
|
|
3053
3053
|
}
|
|
3054
3054
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
3055
3055
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
3056
3056
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
3057
3057
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
3058
|
-
unsignedNumberDescriptors = setOf([serializer_1(Companion_getInstance_0()).
|
|
3058
|
+
unsignedNumberDescriptors = setOf([serializer_1(Companion_getInstance_0()).h1x(), serializer_0(Companion_getInstance()).h1x(), serializer_2(Companion_getInstance_1()).h1x(), serializer_3(Companion_getInstance_2()).h1x()]);
|
|
3059
3059
|
}
|
|
3060
3060
|
}
|
|
3061
3061
|
function get_ESCAPE_STRINGS() {
|
|
@@ -3228,11 +3228,11 @@
|
|
|
3228
3228
|
protoOf(AbstractJsonTreeDecoder).a1 = function () {
|
|
3229
3229
|
return this.v5h_1;
|
|
3230
3230
|
};
|
|
3231
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3232
|
-
return this.t5b().
|
|
3231
|
+
protoOf(AbstractJsonTreeDecoder).j21 = function () {
|
|
3232
|
+
return this.t5b().j21();
|
|
3233
3233
|
};
|
|
3234
3234
|
protoOf(AbstractJsonTreeDecoder).z5h = function () {
|
|
3235
|
-
var tmp0_safe_receiver = this.
|
|
3235
|
+
var tmp0_safe_receiver = this.e2f();
|
|
3236
3236
|
var tmp;
|
|
3237
3237
|
if (tmp0_safe_receiver == null) {
|
|
3238
3238
|
tmp = null;
|
|
@@ -3244,12 +3244,12 @@
|
|
|
3244
3244
|
return tmp1_elvis_lhs == null ? this.a1() : tmp1_elvis_lhs;
|
|
3245
3245
|
};
|
|
3246
3246
|
protoOf(AbstractJsonTreeDecoder).y5h = function (currentTag) {
|
|
3247
|
-
return this.
|
|
3247
|
+
return this.g2f() + ('.' + currentTag);
|
|
3248
3248
|
};
|
|
3249
3249
|
protoOf(AbstractJsonTreeDecoder).u5b = function () {
|
|
3250
3250
|
return this.z5h();
|
|
3251
3251
|
};
|
|
3252
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3252
|
+
protoOf(AbstractJsonTreeDecoder).t20 = function (deserializer) {
|
|
3253
3253
|
var tmp$ret$0;
|
|
3254
3254
|
$l$block: {
|
|
3255
3255
|
// Inline function 'kotlinx.serialization.json.internal.decodeSerializableValuePolymorphic' call
|
|
@@ -3260,21 +3260,21 @@
|
|
|
3260
3260
|
tmp = this.t5b().q59_1.j5b_1;
|
|
3261
3261
|
}
|
|
3262
3262
|
if (tmp) {
|
|
3263
|
-
tmp$ret$0 = deserializer.
|
|
3263
|
+
tmp$ret$0 = deserializer.j1x(this);
|
|
3264
3264
|
break $l$block;
|
|
3265
3265
|
}
|
|
3266
|
-
var discriminator = classDiscriminator(deserializer.
|
|
3266
|
+
var discriminator = classDiscriminator(deserializer.h1x(), this.t5b());
|
|
3267
3267
|
var tmp0 = this.u5b();
|
|
3268
3268
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3269
|
-
var serialName = deserializer.
|
|
3269
|
+
var serialName = deserializer.h1x().i1y();
|
|
3270
3270
|
if (!(tmp0 instanceof JsonObject)) {
|
|
3271
3271
|
var tmp_0 = getKClass(JsonObject).va();
|
|
3272
3272
|
var tmp_1 = getKClassFromExpression(tmp0).va();
|
|
3273
|
-
var tmp$ret$1 = this.
|
|
3273
|
+
var tmp$ret$1 = this.g2f();
|
|
3274
3274
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
3275
3275
|
}
|
|
3276
3276
|
var jsonTree = tmp0;
|
|
3277
|
-
var tmp0_safe_receiver = jsonTree.
|
|
3277
|
+
var tmp0_safe_receiver = jsonTree.r2k(discriminator);
|
|
3278
3278
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3279
3279
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
3280
3280
|
var tmp_2;
|
|
@@ -3295,12 +3295,12 @@
|
|
|
3295
3295
|
}
|
|
3296
3296
|
return tmp$ret$0;
|
|
3297
3297
|
};
|
|
3298
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3298
|
+
protoOf(AbstractJsonTreeDecoder).f2f = function (parentName, childName) {
|
|
3299
3299
|
return childName;
|
|
3300
3300
|
};
|
|
3301
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3301
|
+
protoOf(AbstractJsonTreeDecoder).u20 = function (descriptor) {
|
|
3302
3302
|
var currentObject = this.z5h();
|
|
3303
|
-
var tmp0_subject = descriptor.
|
|
3303
|
+
var tmp0_subject = descriptor.b1z();
|
|
3304
3304
|
var tmp;
|
|
3305
3305
|
var tmp_0;
|
|
3306
3306
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -3312,11 +3312,11 @@
|
|
|
3312
3312
|
var tmp_1 = this.t5b();
|
|
3313
3313
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3314
3314
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3315
|
-
var serialName = descriptor.
|
|
3315
|
+
var serialName = descriptor.i1y();
|
|
3316
3316
|
if (!(currentObject instanceof JsonArray)) {
|
|
3317
3317
|
var tmp_2 = getKClass(JsonArray).va();
|
|
3318
3318
|
var tmp_3 = getKClassFromExpression(currentObject).va();
|
|
3319
|
-
var tmp$ret$0 = this.
|
|
3319
|
+
var tmp$ret$0 = this.g2f();
|
|
3320
3320
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(currentObject));
|
|
3321
3321
|
}
|
|
3322
3322
|
tmp = new JsonTreeListDecoder(tmp_1, currentObject);
|
|
@@ -3324,8 +3324,8 @@
|
|
|
3324
3324
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3325
3325
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3326
3326
|
var this_0 = this.t5b();
|
|
3327
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
3328
|
-
var keyKind = keyDescriptor.
|
|
3327
|
+
var keyDescriptor = carrierDescriptor(descriptor.i1z(0), this_0.j21());
|
|
3328
|
+
var keyKind = keyDescriptor.b1z();
|
|
3329
3329
|
var tmp_4;
|
|
3330
3330
|
var tmp_5;
|
|
3331
3331
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3337,11 +3337,11 @@
|
|
|
3337
3337
|
var tmp_6 = this.t5b();
|
|
3338
3338
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3339
3339
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3340
|
-
var serialName_0 = descriptor.
|
|
3340
|
+
var serialName_0 = descriptor.i1y();
|
|
3341
3341
|
if (!(currentObject instanceof JsonObject)) {
|
|
3342
3342
|
var tmp_7 = getKClass(JsonObject).va();
|
|
3343
3343
|
var tmp_8 = getKClassFromExpression(currentObject).va();
|
|
3344
|
-
var tmp$ret$3 = this.
|
|
3344
|
+
var tmp$ret$3 = this.g2f();
|
|
3345
3345
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_7 + ', but had ' + tmp_8 + ' as the serialized body of ' + serialName_0 + ' at element: ' + tmp$ret$3, toString(currentObject));
|
|
3346
3346
|
}
|
|
3347
3347
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
@@ -3350,11 +3350,11 @@
|
|
|
3350
3350
|
var tmp_9 = this.t5b();
|
|
3351
3351
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3352
3352
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3353
|
-
var serialName_1 = descriptor.
|
|
3353
|
+
var serialName_1 = descriptor.i1y();
|
|
3354
3354
|
if (!(currentObject instanceof JsonArray)) {
|
|
3355
3355
|
var tmp_10 = getKClass(JsonArray).va();
|
|
3356
3356
|
var tmp_11 = getKClassFromExpression(currentObject).va();
|
|
3357
|
-
var tmp$ret$7 = this.
|
|
3357
|
+
var tmp$ret$7 = this.g2f();
|
|
3358
3358
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_10 + ', but had ' + tmp_11 + ' as the serialized body of ' + serialName_1 + ' at element: ' + tmp$ret$7, toString(currentObject));
|
|
3359
3359
|
}
|
|
3360
3360
|
tmp_4 = new JsonTreeListDecoder(tmp_9, currentObject);
|
|
@@ -3367,11 +3367,11 @@
|
|
|
3367
3367
|
var tmp_12 = this.t5b();
|
|
3368
3368
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3369
3369
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3370
|
-
var serialName_2 = descriptor.
|
|
3370
|
+
var serialName_2 = descriptor.i1y();
|
|
3371
3371
|
if (!(currentObject instanceof JsonObject)) {
|
|
3372
3372
|
var tmp_13 = getKClass(JsonObject).va();
|
|
3373
3373
|
var tmp_14 = getKClassFromExpression(currentObject).va();
|
|
3374
|
-
var tmp$ret$12 = this.
|
|
3374
|
+
var tmp$ret$12 = this.g2f();
|
|
3375
3375
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$12, toString(currentObject));
|
|
3376
3376
|
}
|
|
3377
3377
|
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.w5h_1);
|
|
@@ -3379,9 +3379,9 @@
|
|
|
3379
3379
|
}
|
|
3380
3380
|
return tmp;
|
|
3381
3381
|
};
|
|
3382
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3382
|
+
protoOf(AbstractJsonTreeDecoder).v20 = function (descriptor) {
|
|
3383
3383
|
};
|
|
3384
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3384
|
+
protoOf(AbstractJsonTreeDecoder).f20 = function () {
|
|
3385
3385
|
var tmp = this.z5h();
|
|
3386
3386
|
return !(tmp instanceof JsonNull);
|
|
3387
3387
|
};
|
|
@@ -3391,7 +3391,7 @@
|
|
|
3391
3391
|
var tmp2 = this.a5i(tag);
|
|
3392
3392
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3393
3393
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3394
|
-
var serialName = enumDescriptor.
|
|
3394
|
+
var serialName = enumDescriptor.i1y();
|
|
3395
3395
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3396
3396
|
var tmp_0 = getKClass(JsonPrimitive).va();
|
|
3397
3397
|
var tmp_1 = getKClassFromExpression(tmp2).va();
|
|
@@ -3400,13 +3400,13 @@
|
|
|
3400
3400
|
}
|
|
3401
3401
|
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.v5b());
|
|
3402
3402
|
};
|
|
3403
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3403
|
+
protoOf(AbstractJsonTreeDecoder).s2f = function (tag, enumDescriptor) {
|
|
3404
3404
|
return this.b5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3405
3405
|
};
|
|
3406
3406
|
protoOf(AbstractJsonTreeDecoder).c5i = function (tag) {
|
|
3407
3407
|
return !(this.a5i(tag) === JsonNull_getInstance());
|
|
3408
3408
|
};
|
|
3409
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3409
|
+
protoOf(AbstractJsonTreeDecoder).i2f = function (tag) {
|
|
3410
3410
|
return this.c5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3411
3411
|
};
|
|
3412
3412
|
protoOf(AbstractJsonTreeDecoder).d5i = function (tag) {
|
|
@@ -3444,7 +3444,7 @@
|
|
|
3444
3444
|
}
|
|
3445
3445
|
return tmp$ret$4;
|
|
3446
3446
|
};
|
|
3447
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3447
|
+
protoOf(AbstractJsonTreeDecoder).j2f = function (tag) {
|
|
3448
3448
|
return this.d5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3449
3449
|
};
|
|
3450
3450
|
protoOf(AbstractJsonTreeDecoder).e5i = function (tag) {
|
|
@@ -3491,7 +3491,7 @@
|
|
|
3491
3491
|
}
|
|
3492
3492
|
return tmp$ret$5;
|
|
3493
3493
|
};
|
|
3494
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3494
|
+
protoOf(AbstractJsonTreeDecoder).k2f = function (tag) {
|
|
3495
3495
|
return this.e5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3496
3496
|
};
|
|
3497
3497
|
protoOf(AbstractJsonTreeDecoder).f5i = function (tag) {
|
|
@@ -3538,7 +3538,7 @@
|
|
|
3538
3538
|
}
|
|
3539
3539
|
return tmp$ret$5;
|
|
3540
3540
|
};
|
|
3541
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3541
|
+
protoOf(AbstractJsonTreeDecoder).l2f = function (tag) {
|
|
3542
3542
|
return this.f5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3543
3543
|
};
|
|
3544
3544
|
protoOf(AbstractJsonTreeDecoder).g5i = function (tag) {
|
|
@@ -3585,7 +3585,7 @@
|
|
|
3585
3585
|
}
|
|
3586
3586
|
return tmp$ret$5;
|
|
3587
3587
|
};
|
|
3588
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3588
|
+
protoOf(AbstractJsonTreeDecoder).m2f = function (tag) {
|
|
3589
3589
|
return this.g5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3590
3590
|
};
|
|
3591
3591
|
protoOf(AbstractJsonTreeDecoder).h5i = function (tag) {
|
|
@@ -3623,7 +3623,7 @@
|
|
|
3623
3623
|
}
|
|
3624
3624
|
return tmp$ret$4;
|
|
3625
3625
|
};
|
|
3626
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3626
|
+
protoOf(AbstractJsonTreeDecoder).n2f = function (tag) {
|
|
3627
3627
|
return this.h5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3628
3628
|
};
|
|
3629
3629
|
protoOf(AbstractJsonTreeDecoder).i5i = function (tag) {
|
|
@@ -3665,7 +3665,7 @@
|
|
|
3665
3665
|
return result;
|
|
3666
3666
|
throw InvalidFloatingPointDecoded(result, tag, toString(this.z5h()));
|
|
3667
3667
|
};
|
|
3668
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3668
|
+
protoOf(AbstractJsonTreeDecoder).o2f = function (tag) {
|
|
3669
3669
|
return this.i5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3670
3670
|
};
|
|
3671
3671
|
protoOf(AbstractJsonTreeDecoder).j5i = function (tag) {
|
|
@@ -3707,7 +3707,7 @@
|
|
|
3707
3707
|
return result;
|
|
3708
3708
|
throw InvalidFloatingPointDecoded(result, tag, toString(this.z5h()));
|
|
3709
3709
|
};
|
|
3710
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3710
|
+
protoOf(AbstractJsonTreeDecoder).p2f = function (tag) {
|
|
3711
3711
|
return this.j5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3712
3712
|
};
|
|
3713
3713
|
protoOf(AbstractJsonTreeDecoder).k5i = function (tag) {
|
|
@@ -3745,7 +3745,7 @@
|
|
|
3745
3745
|
}
|
|
3746
3746
|
return tmp$ret$4;
|
|
3747
3747
|
};
|
|
3748
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3748
|
+
protoOf(AbstractJsonTreeDecoder).q2f = function (tag) {
|
|
3749
3749
|
return this.k5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3750
3750
|
};
|
|
3751
3751
|
protoOf(AbstractJsonTreeDecoder).l5i = function (tag) {
|
|
@@ -3766,7 +3766,7 @@
|
|
|
3766
3766
|
}
|
|
3767
3767
|
return value_0.h5c_1;
|
|
3768
3768
|
};
|
|
3769
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3769
|
+
protoOf(AbstractJsonTreeDecoder).r2f = function (tag) {
|
|
3770
3770
|
return this.l5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3771
3771
|
};
|
|
3772
3772
|
protoOf(AbstractJsonTreeDecoder).m5i = function (tag, inlineDescriptor) {
|
|
@@ -3777,7 +3777,7 @@
|
|
|
3777
3777
|
var tmp2 = this.a5i(tag);
|
|
3778
3778
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3779
3779
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3780
|
-
var serialName = inlineDescriptor.
|
|
3780
|
+
var serialName = inlineDescriptor.i1y();
|
|
3781
3781
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3782
3782
|
var tmp_1 = getKClass(JsonPrimitive).va();
|
|
3783
3783
|
var tmp_2 = getKClassFromExpression(tmp2).va();
|
|
@@ -3787,18 +3787,18 @@
|
|
|
3787
3787
|
var lexer = StringJsonLexer_0(tmp_0, tmp2.v5b());
|
|
3788
3788
|
tmp = new JsonDecoderForUnsignedTypes(lexer, this.t5b());
|
|
3789
3789
|
} else {
|
|
3790
|
-
tmp = protoOf(NamedValueDecoder).
|
|
3790
|
+
tmp = protoOf(NamedValueDecoder).t2f.call(this, tag, inlineDescriptor);
|
|
3791
3791
|
}
|
|
3792
3792
|
return tmp;
|
|
3793
3793
|
};
|
|
3794
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3794
|
+
protoOf(AbstractJsonTreeDecoder).t2f = function (tag, inlineDescriptor) {
|
|
3795
3795
|
return this.m5i((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3796
3796
|
};
|
|
3797
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3798
|
-
return !(this.
|
|
3797
|
+
protoOf(AbstractJsonTreeDecoder).r20 = function (descriptor) {
|
|
3798
|
+
return !(this.e2f() == null) ? protoOf(NamedValueDecoder).r20.call(this, descriptor) : (new JsonPrimitiveDecoder(this.t5b(), this.a1(), this.w5h_1)).r20(descriptor);
|
|
3799
3799
|
};
|
|
3800
3800
|
function setForceNull($this, descriptor, index) {
|
|
3801
|
-
$this.w5i_1 = (!$this.t5b().q59_1.g5b_1 && !descriptor.
|
|
3801
|
+
$this.w5i_1 = (!$this.t5b().q59_1.g5b_1 && !descriptor.j1z(index) && descriptor.i1z(index).u1y());
|
|
3802
3802
|
return $this.w5i_1;
|
|
3803
3803
|
}
|
|
3804
3804
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
@@ -3813,11 +3813,11 @@
|
|
|
3813
3813
|
protoOf(JsonTreeDecoder).a1 = function () {
|
|
3814
3814
|
return this.t5i_1;
|
|
3815
3815
|
};
|
|
3816
|
-
protoOf(JsonTreeDecoder).
|
|
3817
|
-
$l$loop: while (this.v5i_1 < descriptor.
|
|
3816
|
+
protoOf(JsonTreeDecoder).l21 = function (descriptor) {
|
|
3817
|
+
$l$loop: while (this.v5i_1 < descriptor.d1z()) {
|
|
3818
3818
|
var _unary__edvuaz = this.v5i_1;
|
|
3819
3819
|
this.v5i_1 = _unary__edvuaz + 1 | 0;
|
|
3820
|
-
var name = this.
|
|
3820
|
+
var name = this.z2e(descriptor, _unary__edvuaz);
|
|
3821
3821
|
var index = this.v5i_1 - 1 | 0;
|
|
3822
3822
|
this.w5i_1 = false;
|
|
3823
3823
|
var tmp;
|
|
@@ -3836,10 +3836,10 @@
|
|
|
3836
3836
|
var tmp$ret$3;
|
|
3837
3837
|
$l$block_2: {
|
|
3838
3838
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
3839
|
-
var isOptional = descriptor.
|
|
3840
|
-
var elementDescriptor = descriptor.
|
|
3839
|
+
var isOptional = descriptor.j1z(index);
|
|
3840
|
+
var elementDescriptor = descriptor.i1z(index);
|
|
3841
3841
|
var tmp_0;
|
|
3842
|
-
if (isOptional && !elementDescriptor.
|
|
3842
|
+
if (isOptional && !elementDescriptor.u1y()) {
|
|
3843
3843
|
var tmp_1 = this.x5i(name);
|
|
3844
3844
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3845
3845
|
} else {
|
|
@@ -3849,9 +3849,9 @@
|
|
|
3849
3849
|
tmp$ret$3 = true;
|
|
3850
3850
|
break $l$block_2;
|
|
3851
3851
|
}
|
|
3852
|
-
if (equals(elementDescriptor.
|
|
3852
|
+
if (equals(elementDescriptor.b1z(), ENUM_getInstance())) {
|
|
3853
3853
|
var tmp_2;
|
|
3854
|
-
if (elementDescriptor.
|
|
3854
|
+
if (elementDescriptor.u1y()) {
|
|
3855
3855
|
var tmp_3 = this.x5i(name);
|
|
3856
3856
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3857
3857
|
} else {
|
|
@@ -3873,7 +3873,7 @@
|
|
|
3873
3873
|
}
|
|
3874
3874
|
var enumValue = tmp_5;
|
|
3875
3875
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3876
|
-
var coerceToNull = !tmp0.q59_1.g5b_1 && elementDescriptor.
|
|
3876
|
+
var coerceToNull = !tmp0.q59_1.g5b_1 && elementDescriptor.u1y();
|
|
3877
3877
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3878
3878
|
if (setForceNull(this, descriptor, index))
|
|
3879
3879
|
return index;
|
|
@@ -3890,12 +3890,12 @@
|
|
|
3890
3890
|
}
|
|
3891
3891
|
return -1;
|
|
3892
3892
|
};
|
|
3893
|
-
protoOf(JsonTreeDecoder).
|
|
3894
|
-
return !this.w5i_1 && protoOf(AbstractJsonTreeDecoder).
|
|
3893
|
+
protoOf(JsonTreeDecoder).f20 = function () {
|
|
3894
|
+
return !this.w5i_1 && protoOf(AbstractJsonTreeDecoder).f20.call(this);
|
|
3895
3895
|
};
|
|
3896
|
-
protoOf(JsonTreeDecoder).
|
|
3896
|
+
protoOf(JsonTreeDecoder).a2f = function (descriptor, index) {
|
|
3897
3897
|
var strategy = namingStrategy(descriptor, this.t5b());
|
|
3898
|
-
var baseName = descriptor.
|
|
3898
|
+
var baseName = descriptor.f1z(index);
|
|
3899
3899
|
if (strategy == null) {
|
|
3900
3900
|
if (!this.x5h_1.m5b_1)
|
|
3901
3901
|
return baseName;
|
|
@@ -3932,31 +3932,31 @@
|
|
|
3932
3932
|
return getValue(this.a1(), tag);
|
|
3933
3933
|
};
|
|
3934
3934
|
protoOf(JsonTreeDecoder).x5i = function (tag) {
|
|
3935
|
-
return this.a1().
|
|
3935
|
+
return this.a1().r2k(tag);
|
|
3936
3936
|
};
|
|
3937
|
-
protoOf(JsonTreeDecoder).
|
|
3937
|
+
protoOf(JsonTreeDecoder).u20 = function (descriptor) {
|
|
3938
3938
|
if (descriptor === this.u5i_1) {
|
|
3939
3939
|
var tmp = this.t5b();
|
|
3940
3940
|
var tmp2 = this.z5h();
|
|
3941
3941
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3942
3942
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3943
|
-
var serialName = this.u5i_1.
|
|
3943
|
+
var serialName = this.u5i_1.i1y();
|
|
3944
3944
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3945
3945
|
var tmp_0 = getKClass(JsonObject).va();
|
|
3946
3946
|
var tmp_1 = getKClassFromExpression(tmp2).va();
|
|
3947
|
-
var tmp$ret$0 = this.
|
|
3947
|
+
var tmp$ret$0 = this.g2f();
|
|
3948
3948
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3949
3949
|
}
|
|
3950
3950
|
return new JsonTreeDecoder(tmp, tmp2, this.w5h_1, this.u5i_1);
|
|
3951
3951
|
}
|
|
3952
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3952
|
+
return protoOf(AbstractJsonTreeDecoder).u20.call(this, descriptor);
|
|
3953
3953
|
};
|
|
3954
|
-
protoOf(JsonTreeDecoder).
|
|
3954
|
+
protoOf(JsonTreeDecoder).v20 = function (descriptor) {
|
|
3955
3955
|
var tmp;
|
|
3956
3956
|
if (ignoreUnknownKeys(descriptor, this.t5b())) {
|
|
3957
3957
|
tmp = true;
|
|
3958
3958
|
} else {
|
|
3959
|
-
var tmp_0 = descriptor.
|
|
3959
|
+
var tmp_0 = descriptor.b1z();
|
|
3960
3960
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3961
3961
|
}
|
|
3962
3962
|
if (tmp)
|
|
@@ -3980,7 +3980,7 @@
|
|
|
3980
3980
|
while (_iterator__ex2g4s.s()) {
|
|
3981
3981
|
var key = _iterator__ex2g4s.t();
|
|
3982
3982
|
if (!names.u1(key) && !(key === this.w5h_1)) {
|
|
3983
|
-
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.
|
|
3983
|
+
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.g2f() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.a1().toString()))));
|
|
3984
3984
|
}
|
|
3985
3985
|
}
|
|
3986
3986
|
};
|
|
@@ -3993,13 +3993,13 @@
|
|
|
3993
3993
|
protoOf(JsonTreeListDecoder).a1 = function () {
|
|
3994
3994
|
return this.e5j_1;
|
|
3995
3995
|
};
|
|
3996
|
-
protoOf(JsonTreeListDecoder).
|
|
3996
|
+
protoOf(JsonTreeListDecoder).a2f = function (descriptor, index) {
|
|
3997
3997
|
return index.toString();
|
|
3998
3998
|
};
|
|
3999
3999
|
protoOf(JsonTreeListDecoder).a5i = function (tag) {
|
|
4000
4000
|
return this.e5j_1.v(toInt(tag));
|
|
4001
4001
|
};
|
|
4002
|
-
protoOf(JsonTreeListDecoder).
|
|
4002
|
+
protoOf(JsonTreeListDecoder).l21 = function (descriptor) {
|
|
4003
4003
|
while (this.g5j_1 < (this.f5j_1 - 1 | 0)) {
|
|
4004
4004
|
this.g5j_1 = this.g5j_1 + 1 | 0;
|
|
4005
4005
|
return this.g5j_1;
|
|
@@ -4010,12 +4010,12 @@
|
|
|
4010
4010
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4011
4011
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4012
4012
|
this.n5j_1 = value;
|
|
4013
|
-
this.
|
|
4013
|
+
this.u2f('primitive');
|
|
4014
4014
|
}
|
|
4015
4015
|
protoOf(JsonPrimitiveDecoder).a1 = function () {
|
|
4016
4016
|
return this.n5j_1;
|
|
4017
4017
|
};
|
|
4018
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4018
|
+
protoOf(JsonPrimitiveDecoder).l21 = function (descriptor) {
|
|
4019
4019
|
return 0;
|
|
4020
4020
|
};
|
|
4021
4021
|
protoOf(JsonPrimitiveDecoder).a5i = function (tag) {
|
|
@@ -4036,11 +4036,11 @@
|
|
|
4036
4036
|
protoOf(JsonTreeMapDecoder).a1 = function () {
|
|
4037
4037
|
return this.y5j_1;
|
|
4038
4038
|
};
|
|
4039
|
-
protoOf(JsonTreeMapDecoder).
|
|
4039
|
+
protoOf(JsonTreeMapDecoder).a2f = function (descriptor, index) {
|
|
4040
4040
|
var i = index / 2 | 0;
|
|
4041
4041
|
return this.z5j_1.v(i);
|
|
4042
4042
|
};
|
|
4043
|
-
protoOf(JsonTreeMapDecoder).
|
|
4043
|
+
protoOf(JsonTreeMapDecoder).l21 = function (descriptor) {
|
|
4044
4044
|
while (this.b5k_1 < (this.a5k_1 - 1 | 0)) {
|
|
4045
4045
|
this.b5k_1 = this.b5k_1 + 1 | 0;
|
|
4046
4046
|
return this.b5k_1;
|
|
@@ -4050,10 +4050,10 @@
|
|
|
4050
4050
|
protoOf(JsonTreeMapDecoder).a5i = function (tag) {
|
|
4051
4051
|
return (this.b5k_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.y5j_1, tag);
|
|
4052
4052
|
};
|
|
4053
|
-
protoOf(JsonTreeMapDecoder).
|
|
4053
|
+
protoOf(JsonTreeMapDecoder).v20 = function (descriptor) {
|
|
4054
4054
|
};
|
|
4055
4055
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
4056
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
4056
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.h1x())).t20(deserializer);
|
|
4057
4057
|
}
|
|
4058
4058
|
var WriteMode_OBJ_instance;
|
|
4059
4059
|
var WriteMode_LIST_instance;
|
|
@@ -4084,7 +4084,7 @@
|
|
|
4084
4084
|
this.m5h_1 = end;
|
|
4085
4085
|
}
|
|
4086
4086
|
function switchMode(_this__u8e3s4, desc) {
|
|
4087
|
-
var tmp0_subject = desc.
|
|
4087
|
+
var tmp0_subject = desc.b1z();
|
|
4088
4088
|
var tmp;
|
|
4089
4089
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
4090
4090
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -4094,8 +4094,8 @@
|
|
|
4094
4094
|
} else {
|
|
4095
4095
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
4096
4096
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
4097
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
4098
|
-
var keyKind = keyDescriptor.
|
|
4097
|
+
var keyDescriptor = carrierDescriptor(desc.i1z(0), _this__u8e3s4.j21());
|
|
4098
|
+
var keyKind = keyDescriptor.b1z();
|
|
4099
4099
|
var tmp_0;
|
|
4100
4100
|
var tmp_1;
|
|
4101
4101
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -4122,12 +4122,12 @@
|
|
|
4122
4122
|
}
|
|
4123
4123
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
4124
4124
|
var tmp;
|
|
4125
|
-
if (equals(_this__u8e3s4.
|
|
4125
|
+
if (equals(_this__u8e3s4.b1z(), CONTEXTUAL_getInstance())) {
|
|
4126
4126
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
4127
4127
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
4128
4128
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
4129
|
-
} else if (_this__u8e3s4.
|
|
4130
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
4129
|
+
} else if (_this__u8e3s4.c1z()) {
|
|
4130
|
+
tmp = carrierDescriptor(_this__u8e3s4.i1z(0), module_0);
|
|
4131
4131
|
} else {
|
|
4132
4132
|
tmp = _this__u8e3s4;
|
|
4133
4133
|
}
|
|
@@ -5069,10 +5069,10 @@
|
|
|
5069
5069
|
return HashMap_init_$Create$(initialCapacity);
|
|
5070
5070
|
}
|
|
5071
5071
|
//region block: post-declaration
|
|
5072
|
-
protoOf(defer$1).
|
|
5073
|
-
protoOf(defer$1).
|
|
5074
|
-
protoOf(defer$1).
|
|
5075
|
-
protoOf(JsonSerializersModuleValidator).
|
|
5072
|
+
protoOf(defer$1).u1y = get_isNullable;
|
|
5073
|
+
protoOf(defer$1).c1z = get_isInline;
|
|
5074
|
+
protoOf(defer$1).e1z = get_annotations;
|
|
5075
|
+
protoOf(JsonSerializersModuleValidator).q2h = contextual;
|
|
5076
5076
|
//endregion
|
|
5077
5077
|
//region block: init
|
|
5078
5078
|
Companion_instance = new Companion();
|