@guardian/feast-multiplatform-library 4.0.0 → 5.0.1
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/feast-multiplatform-library-library.js +1480 -2426
- package/kotlin/feast-multiplatform-library-library.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +22 -22
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +219 -219
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
var THROW_CCE = kotlin_kotlin.$_$.o9;
|
|
27
27
|
var KtMap = kotlin_kotlin.$_$.s3;
|
|
28
28
|
var getKClassFromExpression = kotlin_kotlin.$_$.y7;
|
|
29
|
-
var KtList = kotlin_kotlin.$_$.q3;
|
|
30
29
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v1;
|
|
31
30
|
var getBooleanHashCode = kotlin_kotlin.$_$.m6;
|
|
32
31
|
var getStringHashCode = kotlin_kotlin.$_$.p6;
|
|
32
|
+
var KtList = kotlin_kotlin.$_$.q3;
|
|
33
33
|
var toDouble = kotlin_kotlin.$_$.s8;
|
|
34
34
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.x2;
|
|
35
35
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
|
|
41
41
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
42
42
|
var SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
43
|
+
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
43
44
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
44
45
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
45
46
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
@@ -51,7 +52,6 @@
|
|
|
51
52
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.a2;
|
|
52
53
|
var toDoubleOrNull = kotlin_kotlin.$_$.r8;
|
|
53
54
|
var toBooleanStrictOrNull = kotlin_kotlin.$_$.q8;
|
|
54
|
-
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
55
55
|
var isInterface = kotlin_kotlin.$_$.e7;
|
|
56
56
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
57
57
|
var KProperty1 = kotlin_kotlin.$_$.b8;
|
|
@@ -194,22 +194,22 @@
|
|
|
194
194
|
initMetadataForInterface(JsonDecoder, 'JsonDecoder', VOID, VOID, [Decoder, CompositeDecoder]);
|
|
195
195
|
initMetadataForCompanion(Companion);
|
|
196
196
|
initMetadataForClass(JsonElement, 'JsonElement', VOID, VOID, VOID, VOID, VOID, {0: JsonElementSerializer_getInstance});
|
|
197
|
-
initMetadataForCompanion(Companion_0);
|
|
198
197
|
initMetadataForClass(JsonObject, 'JsonObject', VOID, JsonElement, [JsonElement, KtMap], VOID, VOID, {0: JsonObjectSerializer_getInstance});
|
|
199
|
-
initMetadataForCompanion(
|
|
198
|
+
initMetadataForCompanion(Companion_0);
|
|
200
199
|
initMetadataForClass(JsonPrimitive, 'JsonPrimitive', VOID, JsonElement, VOID, VOID, VOID, {0: JsonPrimitiveSerializer_getInstance});
|
|
201
|
-
initMetadataForCompanion(Companion_2);
|
|
202
|
-
initMetadataForClass(JsonArray, 'JsonArray', VOID, JsonElement, [JsonElement, KtList], VOID, VOID, {0: JsonArraySerializer_getInstance});
|
|
203
200
|
initMetadataForObject(JsonNull, 'JsonNull', VOID, JsonPrimitive, [JsonPrimitive, SerializerFactory], VOID, VOID, {0: JsonNullSerializer_getInstance});
|
|
201
|
+
initMetadataForCompanion(Companion_1);
|
|
204
202
|
initMetadataForClass(JsonLiteral, 'JsonLiteral', VOID, JsonPrimitive);
|
|
203
|
+
initMetadataForCompanion(Companion_2);
|
|
204
|
+
initMetadataForClass(JsonArray, 'JsonArray', VOID, JsonElement, [JsonElement, KtList], VOID, VOID, {0: JsonArraySerializer_getInstance});
|
|
205
205
|
initMetadataForObject(JsonElementSerializer, 'JsonElementSerializer', VOID, VOID, [KSerializer]);
|
|
206
206
|
initMetadataForObject(JsonObjectDescriptor, 'JsonObjectDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
207
207
|
initMetadataForObject(JsonObjectSerializer, 'JsonObjectSerializer', VOID, VOID, [KSerializer]);
|
|
208
|
+
initMetadataForObject(JsonArrayDescriptor, 'JsonArrayDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
209
|
+
initMetadataForObject(JsonArraySerializer, 'JsonArraySerializer', VOID, VOID, [KSerializer]);
|
|
208
210
|
initMetadataForObject(JsonPrimitiveSerializer, 'JsonPrimitiveSerializer', VOID, VOID, [KSerializer]);
|
|
209
211
|
initMetadataForObject(JsonNullSerializer, 'JsonNullSerializer', VOID, VOID, [KSerializer]);
|
|
210
212
|
initMetadataForObject(JsonLiteralSerializer, 'JsonLiteralSerializer', VOID, VOID, [KSerializer]);
|
|
211
|
-
initMetadataForObject(JsonArrayDescriptor, 'JsonArrayDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
212
|
-
initMetadataForObject(JsonArraySerializer, 'JsonArraySerializer', VOID, VOID, [KSerializer]);
|
|
213
213
|
initMetadataForClass(defer$1, VOID, VOID, VOID, [SerialDescriptor]);
|
|
214
214
|
initMetadataForInterface(JsonEncoder, 'JsonEncoder', VOID, VOID, [Encoder, CompositeEncoder]);
|
|
215
215
|
initMetadataForClass(Composer, 'Composer');
|
|
@@ -218,8 +218,8 @@
|
|
|
218
218
|
initMetadataForClass(ComposerWithPrettyPrint, 'ComposerWithPrettyPrint', VOID, Composer);
|
|
219
219
|
initMetadataForClass(JsonElementMarker, 'JsonElementMarker');
|
|
220
220
|
initMetadataForClass(JsonException, 'JsonException', VOID, SerializationException);
|
|
221
|
-
initMetadataForClass(JsonDecodingException, 'JsonDecodingException', VOID, JsonException);
|
|
222
221
|
initMetadataForClass(JsonEncodingException, 'JsonEncodingException', VOID, JsonException);
|
|
222
|
+
initMetadataForClass(JsonDecodingException, 'JsonDecodingException', VOID, JsonException);
|
|
223
223
|
initMetadataForObject(Tombstone, 'Tombstone');
|
|
224
224
|
initMetadataForClass(JsonPath, 'JsonPath', JsonPath);
|
|
225
225
|
initMetadataForClass(JsonSerializersModuleValidator, 'JsonSerializersModuleValidator', VOID, VOID, [SerializersModuleCollector]);
|
|
@@ -447,14 +447,6 @@
|
|
|
447
447
|
function Companion_getInstance_3() {
|
|
448
448
|
return Companion_instance;
|
|
449
449
|
}
|
|
450
|
-
function JsonElement() {
|
|
451
|
-
}
|
|
452
|
-
function Companion_0() {
|
|
453
|
-
}
|
|
454
|
-
var Companion_instance_0;
|
|
455
|
-
function Companion_getInstance_4() {
|
|
456
|
-
return Companion_instance_0;
|
|
457
|
-
}
|
|
458
450
|
function JsonObject$toString$lambda(_destruct__k2r9zo) {
|
|
459
451
|
// Inline function 'kotlin.collections.component1' call
|
|
460
452
|
var k = _destruct__k2r9zo.s1();
|
|
@@ -524,10 +516,38 @@
|
|
|
524
516
|
}
|
|
525
517
|
return tmp;
|
|
526
518
|
}
|
|
519
|
+
function Companion_0() {
|
|
520
|
+
}
|
|
521
|
+
var Companion_instance_0;
|
|
522
|
+
function Companion_getInstance_4() {
|
|
523
|
+
return Companion_instance_0;
|
|
524
|
+
}
|
|
525
|
+
function JsonElement() {
|
|
526
|
+
}
|
|
527
527
|
function error(_this__u8e3s4, element) {
|
|
528
528
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
529
529
|
throw IllegalArgumentException_init_$Create$('Element ' + toString(getKClassFromExpression(_this__u8e3s4)) + ' is not a ' + element);
|
|
530
530
|
}
|
|
531
|
+
function JsonNull() {
|
|
532
|
+
JsonNull_instance = this;
|
|
533
|
+
JsonPrimitive.call(this);
|
|
534
|
+
this.g14_1 = 'null';
|
|
535
|
+
}
|
|
536
|
+
protoOf(JsonNull).h14 = function () {
|
|
537
|
+
return this.g14_1;
|
|
538
|
+
};
|
|
539
|
+
protoOf(JsonNull).i14 = function () {
|
|
540
|
+
return JsonNullSerializer_getInstance();
|
|
541
|
+
};
|
|
542
|
+
protoOf(JsonNull).lt = function (typeParamsSerializers) {
|
|
543
|
+
return this.i14();
|
|
544
|
+
};
|
|
545
|
+
var JsonNull_instance;
|
|
546
|
+
function JsonNull_getInstance() {
|
|
547
|
+
if (JsonNull_instance == null)
|
|
548
|
+
new JsonNull();
|
|
549
|
+
return JsonNull_instance;
|
|
550
|
+
}
|
|
531
551
|
function Companion_1() {
|
|
532
552
|
}
|
|
533
553
|
var Companion_instance_1;
|
|
@@ -538,7 +558,62 @@
|
|
|
538
558
|
JsonElement.call(this);
|
|
539
559
|
}
|
|
540
560
|
protoOf(JsonPrimitive).toString = function () {
|
|
541
|
-
return this.
|
|
561
|
+
return this.h14();
|
|
562
|
+
};
|
|
563
|
+
function JsonPrimitive_0(value) {
|
|
564
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
565
|
+
if (value == null)
|
|
566
|
+
return JsonNull_getInstance();
|
|
567
|
+
return new JsonLiteral(value, true);
|
|
568
|
+
}
|
|
569
|
+
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
570
|
+
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
571
|
+
JsonPrimitive.call(this);
|
|
572
|
+
this.j14_1 = isString;
|
|
573
|
+
this.k14_1 = coerceToInlineType;
|
|
574
|
+
this.l14_1 = toString(body);
|
|
575
|
+
if (!(this.k14_1 == null)) {
|
|
576
|
+
// Inline function 'kotlin.require' call
|
|
577
|
+
// Inline function 'kotlin.require' call
|
|
578
|
+
if (!this.k14_1.wj()) {
|
|
579
|
+
var message = 'Failed requirement.';
|
|
580
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
protoOf(JsonLiteral).h14 = function () {
|
|
585
|
+
return this.l14_1;
|
|
586
|
+
};
|
|
587
|
+
protoOf(JsonLiteral).toString = function () {
|
|
588
|
+
var tmp;
|
|
589
|
+
if (this.j14_1) {
|
|
590
|
+
// Inline function 'kotlin.text.buildString' call
|
|
591
|
+
// Inline function 'kotlin.apply' call
|
|
592
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
593
|
+
printQuoted(this_0, this.l14_1);
|
|
594
|
+
tmp = this_0.toString();
|
|
595
|
+
} else {
|
|
596
|
+
tmp = this.l14_1;
|
|
597
|
+
}
|
|
598
|
+
return tmp;
|
|
599
|
+
};
|
|
600
|
+
protoOf(JsonLiteral).equals = function (other) {
|
|
601
|
+
if (this === other)
|
|
602
|
+
return true;
|
|
603
|
+
if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
|
|
604
|
+
return false;
|
|
605
|
+
if (!(other instanceof JsonLiteral))
|
|
606
|
+
THROW_CCE();
|
|
607
|
+
if (!(this.j14_1 === other.j14_1))
|
|
608
|
+
return false;
|
|
609
|
+
if (!(this.l14_1 === other.l14_1))
|
|
610
|
+
return false;
|
|
611
|
+
return true;
|
|
612
|
+
};
|
|
613
|
+
protoOf(JsonLiteral).hashCode = function () {
|
|
614
|
+
var result = getBooleanHashCode(this.j14_1);
|
|
615
|
+
result = imul(31, result) + getStringHashCode(this.l14_1) | 0;
|
|
616
|
+
return result;
|
|
542
617
|
};
|
|
543
618
|
function Companion_2() {
|
|
544
619
|
}
|
|
@@ -548,165 +623,90 @@
|
|
|
548
623
|
}
|
|
549
624
|
function JsonArray(content) {
|
|
550
625
|
JsonElement.call(this);
|
|
551
|
-
this.
|
|
626
|
+
this.m14_1 = content;
|
|
552
627
|
}
|
|
553
628
|
protoOf(JsonArray).equals = function (other) {
|
|
554
|
-
return equals(this.
|
|
629
|
+
return equals(this.m14_1, other);
|
|
555
630
|
};
|
|
556
631
|
protoOf(JsonArray).hashCode = function () {
|
|
557
|
-
return hashCode(this.
|
|
632
|
+
return hashCode(this.m14_1);
|
|
558
633
|
};
|
|
559
634
|
protoOf(JsonArray).toString = function () {
|
|
560
|
-
return joinToString(this.
|
|
635
|
+
return joinToString(this.m14_1, ',', '[', ']');
|
|
561
636
|
};
|
|
562
637
|
protoOf(JsonArray).m = function () {
|
|
563
|
-
return this.
|
|
638
|
+
return this.m14_1.m();
|
|
564
639
|
};
|
|
565
|
-
protoOf(JsonArray).
|
|
566
|
-
return this.
|
|
640
|
+
protoOf(JsonArray).n14 = function (element) {
|
|
641
|
+
return this.m14_1.l1(element);
|
|
567
642
|
};
|
|
568
643
|
protoOf(JsonArray).l1 = function (element) {
|
|
569
644
|
if (!(element instanceof JsonElement))
|
|
570
645
|
return false;
|
|
571
|
-
return this.
|
|
646
|
+
return this.n14(element instanceof JsonElement ? element : THROW_CCE());
|
|
572
647
|
};
|
|
573
648
|
protoOf(JsonArray).h = function () {
|
|
574
|
-
return this.
|
|
649
|
+
return this.m14_1.h();
|
|
575
650
|
};
|
|
576
|
-
protoOf(JsonArray).
|
|
577
|
-
return this.
|
|
651
|
+
protoOf(JsonArray).o14 = function (elements) {
|
|
652
|
+
return this.m14_1.m1(elements);
|
|
578
653
|
};
|
|
579
654
|
protoOf(JsonArray).m1 = function (elements) {
|
|
580
|
-
return this.
|
|
655
|
+
return this.o14(elements);
|
|
581
656
|
};
|
|
582
657
|
protoOf(JsonArray).l = function (index) {
|
|
583
|
-
return this.
|
|
658
|
+
return this.m14_1.l(index);
|
|
584
659
|
};
|
|
585
|
-
protoOf(JsonArray).
|
|
586
|
-
return this.
|
|
660
|
+
protoOf(JsonArray).p14 = function (element) {
|
|
661
|
+
return this.m14_1.n1(element);
|
|
587
662
|
};
|
|
588
663
|
protoOf(JsonArray).n1 = function (element) {
|
|
589
664
|
if (!(element instanceof JsonElement))
|
|
590
665
|
return -1;
|
|
591
|
-
return this.
|
|
666
|
+
return this.p14(element instanceof JsonElement ? element : THROW_CCE());
|
|
592
667
|
};
|
|
593
|
-
protoOf(JsonArray).
|
|
594
|
-
return this.
|
|
668
|
+
protoOf(JsonArray).q14 = function (element) {
|
|
669
|
+
return this.m14_1.o1(element);
|
|
595
670
|
};
|
|
596
671
|
protoOf(JsonArray).o1 = function (element) {
|
|
597
672
|
if (!(element instanceof JsonElement))
|
|
598
673
|
return -1;
|
|
599
|
-
return this.
|
|
674
|
+
return this.q14(element instanceof JsonElement ? element : THROW_CCE());
|
|
600
675
|
};
|
|
601
676
|
protoOf(JsonArray).p1 = function () {
|
|
602
|
-
return this.
|
|
677
|
+
return this.m14_1.p1();
|
|
603
678
|
};
|
|
604
679
|
protoOf(JsonArray).q1 = function (index) {
|
|
605
|
-
return this.
|
|
680
|
+
return this.m14_1.q1(index);
|
|
606
681
|
};
|
|
607
682
|
protoOf(JsonArray).r1 = function (fromIndex, toIndex) {
|
|
608
|
-
return this.
|
|
683
|
+
return this.m14_1.r1(fromIndex, toIndex);
|
|
609
684
|
};
|
|
610
685
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
611
|
-
return this.
|
|
686
|
+
return this.m14_1.asJsReadonlyArrayView();
|
|
612
687
|
};
|
|
613
688
|
protoOf(JsonArray).k = function () {
|
|
614
|
-
return this.
|
|
615
|
-
};
|
|
616
|
-
function JsonNull() {
|
|
617
|
-
JsonNull_instance = this;
|
|
618
|
-
JsonPrimitive.call(this);
|
|
619
|
-
this.m14_1 = 'null';
|
|
620
|
-
}
|
|
621
|
-
protoOf(JsonNull).g14 = function () {
|
|
622
|
-
return this.m14_1;
|
|
623
|
-
};
|
|
624
|
-
protoOf(JsonNull).n14 = function () {
|
|
625
|
-
return JsonNullSerializer_getInstance();
|
|
626
|
-
};
|
|
627
|
-
protoOf(JsonNull).lt = function (typeParamsSerializers) {
|
|
628
|
-
return this.n14();
|
|
629
|
-
};
|
|
630
|
-
var JsonNull_instance;
|
|
631
|
-
function JsonNull_getInstance() {
|
|
632
|
-
if (JsonNull_instance == null)
|
|
633
|
-
new JsonNull();
|
|
634
|
-
return JsonNull_instance;
|
|
635
|
-
}
|
|
636
|
-
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
637
|
-
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
638
|
-
JsonPrimitive.call(this);
|
|
639
|
-
this.o14_1 = isString;
|
|
640
|
-
this.p14_1 = coerceToInlineType;
|
|
641
|
-
this.q14_1 = toString(body);
|
|
642
|
-
if (!(this.p14_1 == null)) {
|
|
643
|
-
// Inline function 'kotlin.require' call
|
|
644
|
-
// Inline function 'kotlin.require' call
|
|
645
|
-
if (!this.p14_1.wj()) {
|
|
646
|
-
var message = 'Failed requirement.';
|
|
647
|
-
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
protoOf(JsonLiteral).g14 = function () {
|
|
652
|
-
return this.q14_1;
|
|
653
|
-
};
|
|
654
|
-
protoOf(JsonLiteral).toString = function () {
|
|
655
|
-
var tmp;
|
|
656
|
-
if (this.o14_1) {
|
|
657
|
-
// Inline function 'kotlin.text.buildString' call
|
|
658
|
-
// Inline function 'kotlin.apply' call
|
|
659
|
-
var this_0 = StringBuilder_init_$Create$();
|
|
660
|
-
printQuoted(this_0, this.q14_1);
|
|
661
|
-
tmp = this_0.toString();
|
|
662
|
-
} else {
|
|
663
|
-
tmp = this.q14_1;
|
|
664
|
-
}
|
|
665
|
-
return tmp;
|
|
666
|
-
};
|
|
667
|
-
protoOf(JsonLiteral).equals = function (other) {
|
|
668
|
-
if (this === other)
|
|
669
|
-
return true;
|
|
670
|
-
if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
|
|
671
|
-
return false;
|
|
672
|
-
if (!(other instanceof JsonLiteral))
|
|
673
|
-
THROW_CCE();
|
|
674
|
-
if (!(this.o14_1 === other.o14_1))
|
|
675
|
-
return false;
|
|
676
|
-
if (!(this.q14_1 === other.q14_1))
|
|
677
|
-
return false;
|
|
678
|
-
return true;
|
|
689
|
+
return this.m14_1.k();
|
|
679
690
|
};
|
|
680
|
-
protoOf(JsonLiteral).hashCode = function () {
|
|
681
|
-
var result = getBooleanHashCode(this.o14_1);
|
|
682
|
-
result = imul(31, result) + getStringHashCode(this.q14_1) | 0;
|
|
683
|
-
return result;
|
|
684
|
-
};
|
|
685
|
-
function JsonPrimitive_0(value) {
|
|
686
|
-
_init_properties_JsonElement_kt__7cbdc2();
|
|
687
|
-
if (value == null)
|
|
688
|
-
return JsonNull_getInstance();
|
|
689
|
-
return new JsonLiteral(value, true);
|
|
690
|
-
}
|
|
691
691
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
692
692
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
693
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
693
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.h14());
|
|
694
694
|
}
|
|
695
695
|
function parseLongImpl(_this__u8e3s4) {
|
|
696
696
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
697
|
-
return (new StringJsonLexer(_this__u8e3s4.
|
|
697
|
+
return (new StringJsonLexer(_this__u8e3s4.h14())).r14();
|
|
698
698
|
}
|
|
699
699
|
function get_float(_this__u8e3s4) {
|
|
700
700
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
701
701
|
// Inline function 'kotlin.text.toFloat' call
|
|
702
|
-
var this_0 = _this__u8e3s4.
|
|
702
|
+
var this_0 = _this__u8e3s4.h14();
|
|
703
703
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
704
704
|
// Inline function 'kotlin.js.asDynamic' call
|
|
705
705
|
return toDouble(this_0);
|
|
706
706
|
}
|
|
707
707
|
function get_double(_this__u8e3s4) {
|
|
708
708
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
709
|
-
return toDouble(_this__u8e3s4.
|
|
709
|
+
return toDouble(_this__u8e3s4.h14());
|
|
710
710
|
}
|
|
711
711
|
function get_contentOrNull(_this__u8e3s4) {
|
|
712
712
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
715
715
|
tmp = null;
|
|
716
716
|
} else {
|
|
717
|
-
tmp = _this__u8e3s4.
|
|
717
|
+
tmp = _this__u8e3s4.h14();
|
|
718
718
|
}
|
|
719
719
|
return tmp;
|
|
720
720
|
}
|
|
@@ -865,6 +865,74 @@
|
|
|
865
865
|
new JsonObjectSerializer();
|
|
866
866
|
return JsonObjectSerializer_instance;
|
|
867
867
|
}
|
|
868
|
+
function JsonArrayDescriptor() {
|
|
869
|
+
JsonArrayDescriptor_instance = this;
|
|
870
|
+
this.c15_1 = ListSerializer(JsonElementSerializer_getInstance()).qi();
|
|
871
|
+
this.d15_1 = 'kotlinx.serialization.json.JsonArray';
|
|
872
|
+
}
|
|
873
|
+
protoOf(JsonArrayDescriptor).uj = function () {
|
|
874
|
+
return this.d15_1;
|
|
875
|
+
};
|
|
876
|
+
protoOf(JsonArrayDescriptor).zj = function (index) {
|
|
877
|
+
return this.c15_1.zj(index);
|
|
878
|
+
};
|
|
879
|
+
protoOf(JsonArrayDescriptor).ak = function (name) {
|
|
880
|
+
return this.c15_1.ak(name);
|
|
881
|
+
};
|
|
882
|
+
protoOf(JsonArrayDescriptor).bk = function (index) {
|
|
883
|
+
return this.c15_1.bk(index);
|
|
884
|
+
};
|
|
885
|
+
protoOf(JsonArrayDescriptor).ck = function (index) {
|
|
886
|
+
return this.c15_1.ck(index);
|
|
887
|
+
};
|
|
888
|
+
protoOf(JsonArrayDescriptor).dk = function (index) {
|
|
889
|
+
return this.c15_1.dk(index);
|
|
890
|
+
};
|
|
891
|
+
protoOf(JsonArrayDescriptor).vj = function () {
|
|
892
|
+
return this.c15_1.vj();
|
|
893
|
+
};
|
|
894
|
+
protoOf(JsonArrayDescriptor).qj = function () {
|
|
895
|
+
return this.c15_1.qj();
|
|
896
|
+
};
|
|
897
|
+
protoOf(JsonArrayDescriptor).wj = function () {
|
|
898
|
+
return this.c15_1.wj();
|
|
899
|
+
};
|
|
900
|
+
protoOf(JsonArrayDescriptor).xj = function () {
|
|
901
|
+
return this.c15_1.xj();
|
|
902
|
+
};
|
|
903
|
+
protoOf(JsonArrayDescriptor).yj = function () {
|
|
904
|
+
return this.c15_1.yj();
|
|
905
|
+
};
|
|
906
|
+
var JsonArrayDescriptor_instance;
|
|
907
|
+
function JsonArrayDescriptor_getInstance() {
|
|
908
|
+
if (JsonArrayDescriptor_instance == null)
|
|
909
|
+
new JsonArrayDescriptor();
|
|
910
|
+
return JsonArrayDescriptor_instance;
|
|
911
|
+
}
|
|
912
|
+
function JsonArraySerializer() {
|
|
913
|
+
JsonArraySerializer_instance = this;
|
|
914
|
+
this.w14_1 = JsonArrayDescriptor_getInstance();
|
|
915
|
+
}
|
|
916
|
+
protoOf(JsonArraySerializer).qi = function () {
|
|
917
|
+
return this.w14_1;
|
|
918
|
+
};
|
|
919
|
+
protoOf(JsonArraySerializer).e15 = function (encoder, value) {
|
|
920
|
+
verify(encoder);
|
|
921
|
+
ListSerializer(JsonElementSerializer_getInstance()).ri(encoder, value);
|
|
922
|
+
};
|
|
923
|
+
protoOf(JsonArraySerializer).ri = function (encoder, value) {
|
|
924
|
+
return this.e15(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
925
|
+
};
|
|
926
|
+
protoOf(JsonArraySerializer).si = function (decoder) {
|
|
927
|
+
verify_0(decoder);
|
|
928
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).si(decoder));
|
|
929
|
+
};
|
|
930
|
+
var JsonArraySerializer_instance;
|
|
931
|
+
function JsonArraySerializer_getInstance() {
|
|
932
|
+
if (JsonArraySerializer_instance == null)
|
|
933
|
+
new JsonArraySerializer();
|
|
934
|
+
return JsonArraySerializer_instance;
|
|
935
|
+
}
|
|
868
936
|
function defer(deferred) {
|
|
869
937
|
return new defer$1(deferred);
|
|
870
938
|
}
|
|
@@ -875,7 +943,7 @@
|
|
|
875
943
|
protoOf(JsonPrimitiveSerializer).qi = function () {
|
|
876
944
|
return this.s14_1;
|
|
877
945
|
};
|
|
878
|
-
protoOf(JsonPrimitiveSerializer).
|
|
946
|
+
protoOf(JsonPrimitiveSerializer).f15 = function (encoder, value) {
|
|
879
947
|
verify(encoder);
|
|
880
948
|
var tmp;
|
|
881
949
|
if (value instanceof JsonNull) {
|
|
@@ -889,7 +957,7 @@
|
|
|
889
957
|
return tmp;
|
|
890
958
|
};
|
|
891
959
|
protoOf(JsonPrimitiveSerializer).ri = function (encoder, value) {
|
|
892
|
-
return this.
|
|
960
|
+
return this.f15(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
893
961
|
};
|
|
894
962
|
protoOf(JsonPrimitiveSerializer).si = function (decoder) {
|
|
895
963
|
var result = asJsonDecoder(decoder).c14();
|
|
@@ -910,12 +978,12 @@
|
|
|
910
978
|
protoOf(JsonNullSerializer).qi = function () {
|
|
911
979
|
return this.t14_1;
|
|
912
980
|
};
|
|
913
|
-
protoOf(JsonNullSerializer).
|
|
981
|
+
protoOf(JsonNullSerializer).g15 = function (encoder, value) {
|
|
914
982
|
verify(encoder);
|
|
915
983
|
encoder.im();
|
|
916
984
|
};
|
|
917
985
|
protoOf(JsonNullSerializer).ri = function (encoder, value) {
|
|
918
|
-
return this.
|
|
986
|
+
return this.g15(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
919
987
|
};
|
|
920
988
|
protoOf(JsonNullSerializer).si = function (decoder) {
|
|
921
989
|
verify_0(decoder);
|
|
@@ -938,22 +1006,22 @@
|
|
|
938
1006
|
protoOf(JsonLiteralSerializer).qi = function () {
|
|
939
1007
|
return this.u14_1;
|
|
940
1008
|
};
|
|
941
|
-
protoOf(JsonLiteralSerializer).
|
|
1009
|
+
protoOf(JsonLiteralSerializer).h15 = function (encoder, value) {
|
|
942
1010
|
verify(encoder);
|
|
943
|
-
if (value.
|
|
944
|
-
return encoder.rm(value.
|
|
1011
|
+
if (value.j14_1) {
|
|
1012
|
+
return encoder.rm(value.l14_1);
|
|
945
1013
|
}
|
|
946
|
-
if (!(value.
|
|
947
|
-
return encoder.sm(value.
|
|
1014
|
+
if (!(value.k14_1 == null)) {
|
|
1015
|
+
return encoder.sm(value.k14_1).rm(value.l14_1);
|
|
948
1016
|
}
|
|
949
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
1017
|
+
var tmp0_safe_receiver = toLongOrNull(value.l14_1);
|
|
950
1018
|
if (tmp0_safe_receiver == null)
|
|
951
1019
|
null;
|
|
952
1020
|
else {
|
|
953
1021
|
// Inline function 'kotlin.let' call
|
|
954
1022
|
return encoder.nm(tmp0_safe_receiver);
|
|
955
1023
|
}
|
|
956
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
1024
|
+
var tmp1_safe_receiver = toULongOrNull(value.l14_1);
|
|
957
1025
|
var tmp = tmp1_safe_receiver;
|
|
958
1026
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
959
1027
|
null;
|
|
@@ -967,24 +1035,24 @@
|
|
|
967
1035
|
tmp_1.nm(tmp$ret$1);
|
|
968
1036
|
return Unit_instance;
|
|
969
1037
|
}
|
|
970
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
1038
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.l14_1);
|
|
971
1039
|
if (tmp2_safe_receiver == null)
|
|
972
1040
|
null;
|
|
973
1041
|
else {
|
|
974
1042
|
// Inline function 'kotlin.let' call
|
|
975
1043
|
return encoder.pm(tmp2_safe_receiver);
|
|
976
1044
|
}
|
|
977
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
1045
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.l14_1);
|
|
978
1046
|
if (tmp3_safe_receiver == null)
|
|
979
1047
|
null;
|
|
980
1048
|
else {
|
|
981
1049
|
// Inline function 'kotlin.let' call
|
|
982
1050
|
return encoder.jm(tmp3_safe_receiver);
|
|
983
1051
|
}
|
|
984
|
-
encoder.rm(value.
|
|
1052
|
+
encoder.rm(value.l14_1);
|
|
985
1053
|
};
|
|
986
1054
|
protoOf(JsonLiteralSerializer).ri = function (encoder, value) {
|
|
987
|
-
return this.
|
|
1055
|
+
return this.h15(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
988
1056
|
};
|
|
989
1057
|
protoOf(JsonLiteralSerializer).si = function (decoder) {
|
|
990
1058
|
var result = asJsonDecoder(decoder).c14();
|
|
@@ -998,74 +1066,6 @@
|
|
|
998
1066
|
new JsonLiteralSerializer();
|
|
999
1067
|
return JsonLiteralSerializer_instance;
|
|
1000
1068
|
}
|
|
1001
|
-
function JsonArrayDescriptor() {
|
|
1002
|
-
JsonArrayDescriptor_instance = this;
|
|
1003
|
-
this.f15_1 = ListSerializer(JsonElementSerializer_getInstance()).qi();
|
|
1004
|
-
this.g15_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1005
|
-
}
|
|
1006
|
-
protoOf(JsonArrayDescriptor).uj = function () {
|
|
1007
|
-
return this.g15_1;
|
|
1008
|
-
};
|
|
1009
|
-
protoOf(JsonArrayDescriptor).zj = function (index) {
|
|
1010
|
-
return this.f15_1.zj(index);
|
|
1011
|
-
};
|
|
1012
|
-
protoOf(JsonArrayDescriptor).ak = function (name) {
|
|
1013
|
-
return this.f15_1.ak(name);
|
|
1014
|
-
};
|
|
1015
|
-
protoOf(JsonArrayDescriptor).bk = function (index) {
|
|
1016
|
-
return this.f15_1.bk(index);
|
|
1017
|
-
};
|
|
1018
|
-
protoOf(JsonArrayDescriptor).ck = function (index) {
|
|
1019
|
-
return this.f15_1.ck(index);
|
|
1020
|
-
};
|
|
1021
|
-
protoOf(JsonArrayDescriptor).dk = function (index) {
|
|
1022
|
-
return this.f15_1.dk(index);
|
|
1023
|
-
};
|
|
1024
|
-
protoOf(JsonArrayDescriptor).vj = function () {
|
|
1025
|
-
return this.f15_1.vj();
|
|
1026
|
-
};
|
|
1027
|
-
protoOf(JsonArrayDescriptor).qj = function () {
|
|
1028
|
-
return this.f15_1.qj();
|
|
1029
|
-
};
|
|
1030
|
-
protoOf(JsonArrayDescriptor).wj = function () {
|
|
1031
|
-
return this.f15_1.wj();
|
|
1032
|
-
};
|
|
1033
|
-
protoOf(JsonArrayDescriptor).xj = function () {
|
|
1034
|
-
return this.f15_1.xj();
|
|
1035
|
-
};
|
|
1036
|
-
protoOf(JsonArrayDescriptor).yj = function () {
|
|
1037
|
-
return this.f15_1.yj();
|
|
1038
|
-
};
|
|
1039
|
-
var JsonArrayDescriptor_instance;
|
|
1040
|
-
function JsonArrayDescriptor_getInstance() {
|
|
1041
|
-
if (JsonArrayDescriptor_instance == null)
|
|
1042
|
-
new JsonArrayDescriptor();
|
|
1043
|
-
return JsonArrayDescriptor_instance;
|
|
1044
|
-
}
|
|
1045
|
-
function JsonArraySerializer() {
|
|
1046
|
-
JsonArraySerializer_instance = this;
|
|
1047
|
-
this.w14_1 = JsonArrayDescriptor_getInstance();
|
|
1048
|
-
}
|
|
1049
|
-
protoOf(JsonArraySerializer).qi = function () {
|
|
1050
|
-
return this.w14_1;
|
|
1051
|
-
};
|
|
1052
|
-
protoOf(JsonArraySerializer).h15 = function (encoder, value) {
|
|
1053
|
-
verify(encoder);
|
|
1054
|
-
ListSerializer(JsonElementSerializer_getInstance()).ri(encoder, value);
|
|
1055
|
-
};
|
|
1056
|
-
protoOf(JsonArraySerializer).ri = function (encoder, value) {
|
|
1057
|
-
return this.h15(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1058
|
-
};
|
|
1059
|
-
protoOf(JsonArraySerializer).si = function (decoder) {
|
|
1060
|
-
verify_0(decoder);
|
|
1061
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).si(decoder));
|
|
1062
|
-
};
|
|
1063
|
-
var JsonArraySerializer_instance;
|
|
1064
|
-
function JsonArraySerializer_getInstance() {
|
|
1065
|
-
if (JsonArraySerializer_instance == null)
|
|
1066
|
-
new JsonArraySerializer();
|
|
1067
|
-
return JsonArraySerializer_instance;
|
|
1068
|
-
}
|
|
1069
1069
|
function verify(encoder) {
|
|
1070
1070
|
asJsonEncoder(encoder);
|
|
1071
1071
|
}
|
|
@@ -1303,13 +1303,6 @@
|
|
|
1303
1303
|
protoOf(JsonElementMarker).r16 = function () {
|
|
1304
1304
|
return this.o16_1.vr();
|
|
1305
1305
|
};
|
|
1306
|
-
function JsonDecodingException(message) {
|
|
1307
|
-
JsonException.call(this, message);
|
|
1308
|
-
captureStack(this, JsonDecodingException);
|
|
1309
|
-
}
|
|
1310
|
-
function JsonDecodingException_0(offset, message, input) {
|
|
1311
|
-
return JsonDecodingException_1(offset, message + '\nJSON input: ' + toString(minify(input, offset)));
|
|
1312
|
-
}
|
|
1313
1306
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1314
1307
|
entity = entity === VOID ? 'object' : entity;
|
|
1315
1308
|
_this__u8e3s4.s16('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.m12_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
@@ -1324,6 +1317,13 @@
|
|
|
1324
1317
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1325
1318
|
return new JsonEncodingException("Value of type '" + keyDescriptor.uj() + "' 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.vj().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
1326
1319
|
}
|
|
1320
|
+
function JsonDecodingException(message) {
|
|
1321
|
+
JsonException.call(this, message);
|
|
1322
|
+
captureStack(this, JsonDecodingException);
|
|
1323
|
+
}
|
|
1324
|
+
function JsonDecodingException_0(offset, message, input) {
|
|
1325
|
+
return JsonDecodingException_1(offset, message + '\nJSON input: ' + toString(minify(input, offset)));
|
|
1326
|
+
}
|
|
1327
1327
|
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1328
1328
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
1329
1329
|
}
|
|
@@ -1351,6 +1351,9 @@
|
|
|
1351
1351
|
var endIndex_0 = coerceAtMost(end, charSequenceLength(_this__u8e3s4));
|
|
1352
1352
|
return prefix + toString(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex_0)) + suffix;
|
|
1353
1353
|
}
|
|
1354
|
+
function InvalidFloatingPointEncoded(value, output) {
|
|
1355
|
+
return new JsonEncodingException('Unexpected special floating-point value ' + toString(value) + '. 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))));
|
|
1356
|
+
}
|
|
1354
1357
|
function JsonException(message) {
|
|
1355
1358
|
SerializationException_init_$Init$(message, this);
|
|
1356
1359
|
captureStack(this, JsonException);
|
|
@@ -1358,9 +1361,6 @@
|
|
|
1358
1361
|
function unexpectedFpErrorMessage(value, key, output) {
|
|
1359
1362
|
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)));
|
|
1360
1363
|
}
|
|
1361
|
-
function InvalidFloatingPointEncoded(value, output) {
|
|
1362
|
-
return new JsonEncodingException('Unexpected special floating-point value ' + toString(value) + '. 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))));
|
|
1363
|
-
}
|
|
1364
1364
|
function get_JsonDeserializationNamesKey() {
|
|
1365
1365
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1366
1366
|
return JsonDeserializationNamesKey;
|
|
@@ -3692,7 +3692,7 @@
|
|
|
3692
3692
|
}
|
|
3693
3693
|
var literal = value;
|
|
3694
3694
|
try {
|
|
3695
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3695
|
+
var tmp0_elvis_lhs = new Char(single(literal.h14()));
|
|
3696
3696
|
var tmp_1;
|
|
3697
3697
|
if (tmp0_elvis_lhs == null) {
|
|
3698
3698
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3728,10 +3728,10 @@
|
|
|
3728
3728
|
var value_0 = value;
|
|
3729
3729
|
if (!(value_0 instanceof JsonLiteral))
|
|
3730
3730
|
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.i1a(tag), toString(this.j1a()));
|
|
3731
|
-
if (!value_0.
|
|
3731
|
+
if (!value_0.j14_1 && !this.b14().v11_1.m13_1) {
|
|
3732
3732
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.i1a(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.j1a()));
|
|
3733
3733
|
}
|
|
3734
|
-
return value_0.
|
|
3734
|
+
return value_0.l14_1;
|
|
3735
3735
|
};
|
|
3736
3736
|
protoOf(AbstractJsonTreeDecoder).qz = function (tag) {
|
|
3737
3737
|
return this.u1a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
@@ -3751,7 +3751,7 @@
|
|
|
3751
3751
|
var tmp$ret$0 = this.i1a(tag);
|
|
3752
3752
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3753
3753
|
}
|
|
3754
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3754
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.h14());
|
|
3755
3755
|
tmp = new JsonDecoderForUnsignedTypes(lexer, this.b14());
|
|
3756
3756
|
} else {
|
|
3757
3757
|
tmp = protoOf(NamedValueDecoder).rz.call(this, tag, inlineDescriptor);
|