@flock/wirespec 0.7.2 → 0.7.4
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/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +294 -294
- package/kotlin/arrow-arrow-core.js +32 -19
- package/kotlin/arrow-arrow-core.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib-js-ir.js +3 -3
- package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin/kotlin-openapi-bindings.js +3342 -3342
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1252 -1252
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +982 -982
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlin/wirespec-cli.js +83 -83
- package/kotlin/wirespec-core.js +1184 -1143
- package/kotlin/wirespec-core.js.map +1 -1
- package/kotlin/wirespec-lib.js +39 -39
- package/kotlin/wirespec-openapi.js +366 -362
- package/kotlin/wirespec-openapi.js.map +1 -1
- package/package.json +1 -1
- package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
- package/sync-hashes/arrow-arrow-core.js.hash +1 -1
- package/sync-hashes/arrow-arrow-core.js.map.hash +1 -1
- package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
- package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
- package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
- package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
- package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
- package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
- package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +1 -1
- package/sync-hashes/wirespec-cli.js.hash +1 -1
- package/sync-hashes/wirespec-core.js.hash +1 -1
- package/sync-hashes/wirespec-core.js.map.hash +1 -1
- package/sync-hashes/wirespec-lib.js.hash +1 -1
- package/sync-hashes/wirespec-openapi.js.hash +1 -1
- package/sync-hashes/wirespec-openapi.js.map.hash +1 -1
|
@@ -227,50 +227,50 @@
|
|
|
227
227
|
}
|
|
228
228
|
function Json(configuration, serializersModule) {
|
|
229
229
|
Default_getInstance();
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
230
|
+
this.z11_1 = configuration;
|
|
231
|
+
this.a12_1 = serializersModule;
|
|
232
|
+
this.b12_1 = new DescriptorSchemaCache();
|
|
233
233
|
}
|
|
234
|
-
protoOf(Json).
|
|
235
|
-
return this.
|
|
234
|
+
protoOf(Json).pp = function () {
|
|
235
|
+
return this.a12_1;
|
|
236
236
|
};
|
|
237
|
-
protoOf(Json).
|
|
237
|
+
protoOf(Json).c12 = function (deserializer, string) {
|
|
238
238
|
var lexer = new StringJsonLexer(string);
|
|
239
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
240
|
-
var result = input.
|
|
241
|
-
lexer.
|
|
239
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.cm(), null);
|
|
240
|
+
var result = input.zo(deserializer);
|
|
241
|
+
lexer.q12();
|
|
242
242
|
return result;
|
|
243
243
|
};
|
|
244
|
-
protoOf(Json).
|
|
244
|
+
protoOf(Json).d12 = function (deserializer, element) {
|
|
245
245
|
return readJson(this, element, deserializer);
|
|
246
246
|
};
|
|
247
247
|
function Json_0(from, builderAction) {
|
|
248
248
|
from = from === VOID ? Default_getInstance() : from;
|
|
249
249
|
var builder = new JsonBuilder(from);
|
|
250
250
|
builderAction(builder);
|
|
251
|
-
var conf = builder.
|
|
252
|
-
return new JsonImpl(conf, builder.
|
|
251
|
+
var conf = builder.vs();
|
|
252
|
+
return new JsonImpl(conf, builder.e13_1);
|
|
253
253
|
}
|
|
254
254
|
function JsonBuilder(json) {
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
269
|
-
}
|
|
270
|
-
protoOf(JsonBuilder).
|
|
271
|
-
if (this.
|
|
255
|
+
this.r12_1 = json.z11_1.f13_1;
|
|
256
|
+
this.s12_1 = json.z11_1.k13_1;
|
|
257
|
+
this.t12_1 = json.z11_1.g13_1;
|
|
258
|
+
this.u12_1 = json.z11_1.h13_1;
|
|
259
|
+
this.v12_1 = json.z11_1.i13_1;
|
|
260
|
+
this.w12_1 = json.z11_1.j13_1;
|
|
261
|
+
this.x12_1 = json.z11_1.l13_1;
|
|
262
|
+
this.y12_1 = json.z11_1.m13_1;
|
|
263
|
+
this.z12_1 = json.z11_1.n13_1;
|
|
264
|
+
this.a13_1 = json.z11_1.o13_1;
|
|
265
|
+
this.b13_1 = json.z11_1.p13_1;
|
|
266
|
+
this.c13_1 = json.z11_1.q13_1;
|
|
267
|
+
this.d13_1 = json.z11_1.r13_1;
|
|
268
|
+
this.e13_1 = json.pp();
|
|
269
|
+
}
|
|
270
|
+
protoOf(JsonBuilder).vs = function () {
|
|
271
|
+
if (this.z12_1) {
|
|
272
272
|
// Inline function 'kotlin.require' call
|
|
273
|
-
var tmp0_require = this.
|
|
273
|
+
var tmp0_require = this.a13_1 === 'type';
|
|
274
274
|
// Inline function 'kotlin.contracts.contract' call
|
|
275
275
|
if (!tmp0_require) {
|
|
276
276
|
var tmp$ret$0;
|
|
@@ -280,9 +280,9 @@
|
|
|
280
280
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
if (!this.
|
|
283
|
+
if (!this.w12_1) {
|
|
284
284
|
// Inline function 'kotlin.require' call
|
|
285
|
-
var tmp1_require = this.
|
|
285
|
+
var tmp1_require = this.x12_1 === ' ';
|
|
286
286
|
// Inline function 'kotlin.contracts.contract' call
|
|
287
287
|
if (!tmp1_require) {
|
|
288
288
|
var tmp$ret$1;
|
|
@@ -291,11 +291,11 @@
|
|
|
291
291
|
var message_0 = tmp$ret$1;
|
|
292
292
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
293
293
|
}
|
|
294
|
-
} else if (!(this.
|
|
294
|
+
} else if (!(this.x12_1 === ' ')) {
|
|
295
295
|
var tmp$ret$3;
|
|
296
296
|
$l$block: {
|
|
297
297
|
// Inline function 'kotlin.text.all' call
|
|
298
|
-
var tmp2_all = this.
|
|
298
|
+
var tmp2_all = this.x12_1;
|
|
299
299
|
var indexedObject = tmp2_all;
|
|
300
300
|
var inductionVariable = 0;
|
|
301
301
|
var last = indexedObject.length;
|
|
@@ -318,18 +318,18 @@
|
|
|
318
318
|
if (!allWhitespaces) {
|
|
319
319
|
var tmp$ret$4;
|
|
320
320
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
321
|
-
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
321
|
+
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.x12_1;
|
|
322
322
|
var message_1 = tmp$ret$4;
|
|
323
323
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
return new JsonConfiguration(this.
|
|
326
|
+
return new JsonConfiguration(this.r12_1, this.t12_1, this.u12_1, this.v12_1, this.w12_1, this.s12_1, this.x12_1, this.y12_1, this.z12_1, this.a13_1, this.b13_1, this.c13_1, this.d13_1);
|
|
327
327
|
};
|
|
328
328
|
function validateConfiguration($this) {
|
|
329
|
-
if (equals($this.
|
|
329
|
+
if (equals($this.pp(), EmptySerializersModule()))
|
|
330
330
|
return Unit_getInstance();
|
|
331
|
-
var collector = new PolymorphismValidator($this.
|
|
332
|
-
$this.
|
|
331
|
+
var collector = new PolymorphismValidator($this.z11_1.n13_1, $this.z11_1.o13_1);
|
|
332
|
+
$this.pp().i11(collector);
|
|
333
333
|
}
|
|
334
334
|
function JsonImpl(configuration, module_0) {
|
|
335
335
|
Json.call(this, configuration, module_0);
|
|
@@ -353,22 +353,22 @@
|
|
|
353
353
|
allowSpecialFloatingPointValues = allowSpecialFloatingPointValues === VOID ? false : allowSpecialFloatingPointValues;
|
|
354
354
|
useAlternativeNames = useAlternativeNames === VOID ? true : useAlternativeNames;
|
|
355
355
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
361
|
-
this.
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
368
|
-
this.
|
|
356
|
+
this.f13_1 = encodeDefaults;
|
|
357
|
+
this.g13_1 = ignoreUnknownKeys;
|
|
358
|
+
this.h13_1 = isLenient;
|
|
359
|
+
this.i13_1 = allowStructuredMapKeys;
|
|
360
|
+
this.j13_1 = prettyPrint;
|
|
361
|
+
this.k13_1 = explicitNulls;
|
|
362
|
+
this.l13_1 = prettyPrintIndent;
|
|
363
|
+
this.m13_1 = coerceInputValues;
|
|
364
|
+
this.n13_1 = useArrayPolymorphism;
|
|
365
|
+
this.o13_1 = classDiscriminator;
|
|
366
|
+
this.p13_1 = allowSpecialFloatingPointValues;
|
|
367
|
+
this.q13_1 = useAlternativeNames;
|
|
368
|
+
this.r13_1 = namingStrategy;
|
|
369
369
|
}
|
|
370
370
|
protoOf(JsonConfiguration).toString = function () {
|
|
371
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
371
|
+
return 'JsonConfiguration(encodeDefaults=' + this.f13_1 + ', ignoreUnknownKeys=' + this.g13_1 + ', isLenient=' + this.h13_1 + ', ' + ('allowStructuredMapKeys=' + this.i13_1 + ', prettyPrint=' + this.j13_1 + ', explicitNulls=' + this.k13_1 + ', ') + ("prettyPrintIndent='" + this.l13_1 + "', coerceInputValues=" + this.m13_1 + ', useArrayPolymorphism=' + this.n13_1 + ', ') + ("classDiscriminator='" + this.o13_1 + "', allowSpecialFloatingPointValues=" + this.p13_1 + ', useAlternativeNames=' + this.q13_1 + ', ') + ('namingStrategy=' + this.r13_1 + ')');
|
|
372
372
|
};
|
|
373
373
|
function JsonDecoder() {
|
|
374
374
|
}
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
JsonElement.call(this);
|
|
388
388
|
}
|
|
389
389
|
protoOf(JsonPrimitive).toString = function () {
|
|
390
|
-
return this.
|
|
390
|
+
return this.u13();
|
|
391
391
|
};
|
|
392
392
|
function Companion_0() {
|
|
393
393
|
Companion_instance_0 = this;
|
|
@@ -437,44 +437,44 @@
|
|
|
437
437
|
function JsonObject(content) {
|
|
438
438
|
Companion_getInstance_7();
|
|
439
439
|
JsonElement.call(this);
|
|
440
|
-
this.
|
|
440
|
+
this.v13_1 = content;
|
|
441
441
|
}
|
|
442
442
|
protoOf(JsonObject).u = function () {
|
|
443
|
-
return this.
|
|
443
|
+
return this.v13_1.u();
|
|
444
444
|
};
|
|
445
445
|
protoOf(JsonObject).n2 = function () {
|
|
446
|
-
return this.
|
|
446
|
+
return this.v13_1.n2();
|
|
447
447
|
};
|
|
448
448
|
protoOf(JsonObject).f = function () {
|
|
449
|
-
return this.
|
|
449
|
+
return this.v13_1.f();
|
|
450
450
|
};
|
|
451
|
-
protoOf(JsonObject).
|
|
452
|
-
return this.
|
|
451
|
+
protoOf(JsonObject).w13 = function (key) {
|
|
452
|
+
return this.v13_1.i2(key);
|
|
453
453
|
};
|
|
454
454
|
protoOf(JsonObject).i2 = function (key) {
|
|
455
455
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
456
456
|
return false;
|
|
457
|
-
return this.
|
|
457
|
+
return this.w13((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
458
458
|
};
|
|
459
|
-
protoOf(JsonObject).
|
|
460
|
-
return this.
|
|
459
|
+
protoOf(JsonObject).x13 = function (key) {
|
|
460
|
+
return this.v13_1.m2(key);
|
|
461
461
|
};
|
|
462
462
|
protoOf(JsonObject).m2 = function (key) {
|
|
463
463
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
464
464
|
return null;
|
|
465
|
-
return this.
|
|
465
|
+
return this.x13((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
466
466
|
};
|
|
467
467
|
protoOf(JsonObject).g = function () {
|
|
468
|
-
return this.
|
|
468
|
+
return this.v13_1.g();
|
|
469
469
|
};
|
|
470
470
|
protoOf(JsonObject).equals = function (other) {
|
|
471
|
-
return equals(this.
|
|
471
|
+
return equals(this.v13_1, other);
|
|
472
472
|
};
|
|
473
473
|
protoOf(JsonObject).hashCode = function () {
|
|
474
|
-
return hashCode(this.
|
|
474
|
+
return hashCode(this.v13_1);
|
|
475
475
|
};
|
|
476
476
|
protoOf(JsonObject).toString = function () {
|
|
477
|
-
var tmp = this.
|
|
477
|
+
var tmp = this.v13_1.u();
|
|
478
478
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
479
479
|
};
|
|
480
480
|
function get_jsonObject(_this__u8e3s4) {
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
}
|
|
491
491
|
function get_boolean(_this__u8e3s4) {
|
|
492
492
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
493
|
-
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.
|
|
493
|
+
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.u13());
|
|
494
494
|
var tmp;
|
|
495
495
|
if (tmp0_elvis_lhs == null) {
|
|
496
496
|
throw IllegalStateException_init_$Create$('' + _this__u8e3s4 + ' does not represent a Boolean');
|
|
@@ -511,61 +511,61 @@
|
|
|
511
511
|
function JsonArray(content) {
|
|
512
512
|
Companion_getInstance_8();
|
|
513
513
|
JsonElement.call(this);
|
|
514
|
-
this.
|
|
514
|
+
this.y13_1 = content;
|
|
515
515
|
}
|
|
516
516
|
protoOf(JsonArray).f = function () {
|
|
517
|
-
return this.
|
|
517
|
+
return this.y13_1.f();
|
|
518
518
|
};
|
|
519
|
-
protoOf(JsonArray).
|
|
520
|
-
return this.
|
|
519
|
+
protoOf(JsonArray).z13 = function (element) {
|
|
520
|
+
return this.y13_1.i1(element);
|
|
521
521
|
};
|
|
522
522
|
protoOf(JsonArray).i1 = function (element) {
|
|
523
523
|
if (!(element instanceof JsonElement))
|
|
524
524
|
return false;
|
|
525
|
-
return this.
|
|
525
|
+
return this.z13(element instanceof JsonElement ? element : THROW_CCE());
|
|
526
526
|
};
|
|
527
|
-
protoOf(JsonArray).
|
|
528
|
-
return this.
|
|
527
|
+
protoOf(JsonArray).a14 = function (elements) {
|
|
528
|
+
return this.y13_1.j1(elements);
|
|
529
529
|
};
|
|
530
530
|
protoOf(JsonArray).j1 = function (elements) {
|
|
531
|
-
return this.
|
|
531
|
+
return this.a14(elements);
|
|
532
532
|
};
|
|
533
533
|
protoOf(JsonArray).h = function (index) {
|
|
534
|
-
return this.
|
|
534
|
+
return this.y13_1.h(index);
|
|
535
535
|
};
|
|
536
536
|
protoOf(JsonArray).g = function () {
|
|
537
|
-
return this.
|
|
537
|
+
return this.y13_1.g();
|
|
538
538
|
};
|
|
539
539
|
protoOf(JsonArray).c = function () {
|
|
540
|
-
return this.
|
|
540
|
+
return this.y13_1.c();
|
|
541
541
|
};
|
|
542
542
|
protoOf(JsonArray).p1 = function () {
|
|
543
|
-
return this.
|
|
543
|
+
return this.y13_1.p1();
|
|
544
544
|
};
|
|
545
545
|
protoOf(JsonArray).i = function (index) {
|
|
546
|
-
return this.
|
|
546
|
+
return this.y13_1.i(index);
|
|
547
547
|
};
|
|
548
548
|
protoOf(JsonArray).s = function (fromIndex, toIndex) {
|
|
549
|
-
return this.
|
|
549
|
+
return this.y13_1.s(fromIndex, toIndex);
|
|
550
550
|
};
|
|
551
551
|
protoOf(JsonArray).equals = function (other) {
|
|
552
|
-
return equals(this.
|
|
552
|
+
return equals(this.y13_1, other);
|
|
553
553
|
};
|
|
554
554
|
protoOf(JsonArray).hashCode = function () {
|
|
555
|
-
return hashCode(this.
|
|
555
|
+
return hashCode(this.y13_1);
|
|
556
556
|
};
|
|
557
557
|
protoOf(JsonArray).toString = function () {
|
|
558
|
-
return joinToString(this.
|
|
558
|
+
return joinToString(this.y13_1, ',', '[', ']');
|
|
559
559
|
};
|
|
560
560
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
561
561
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
562
562
|
JsonPrimitive.call(this);
|
|
563
|
-
this.
|
|
564
|
-
this.
|
|
565
|
-
this.
|
|
566
|
-
if (!(this.
|
|
563
|
+
this.b14_1 = isString;
|
|
564
|
+
this.c14_1 = coerceToInlineType;
|
|
565
|
+
this.d14_1 = toString(body);
|
|
566
|
+
if (!(this.c14_1 == null)) {
|
|
567
567
|
// Inline function 'kotlin.require' call
|
|
568
|
-
var tmp0_require = this.
|
|
568
|
+
var tmp0_require = this.c14_1.gn();
|
|
569
569
|
// Inline function 'kotlin.contracts.contract' call
|
|
570
570
|
// Inline function 'kotlin.require' call
|
|
571
571
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -578,12 +578,12 @@
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
protoOf(JsonLiteral).
|
|
582
|
-
return this.
|
|
581
|
+
protoOf(JsonLiteral).u13 = function () {
|
|
582
|
+
return this.d14_1;
|
|
583
583
|
};
|
|
584
584
|
protoOf(JsonLiteral).toString = function () {
|
|
585
585
|
var tmp;
|
|
586
|
-
if (this.
|
|
586
|
+
if (this.b14_1) {
|
|
587
587
|
var tmp$ret$1;
|
|
588
588
|
// Inline function 'kotlin.text.buildString' call
|
|
589
589
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -592,12 +592,12 @@
|
|
|
592
592
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
593
593
|
// Inline function 'kotlin.contracts.contract' call
|
|
594
594
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
595
|
-
printQuoted(tmp0_apply, this.
|
|
595
|
+
printQuoted(tmp0_apply, this.d14_1);
|
|
596
596
|
tmp$ret$0 = tmp0_apply;
|
|
597
597
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
598
598
|
tmp = tmp$ret$1;
|
|
599
599
|
} else {
|
|
600
|
-
tmp = this.
|
|
600
|
+
tmp = this.d14_1;
|
|
601
601
|
}
|
|
602
602
|
return tmp;
|
|
603
603
|
};
|
|
@@ -610,19 +610,19 @@
|
|
|
610
610
|
other;
|
|
611
611
|
else
|
|
612
612
|
THROW_CCE();
|
|
613
|
-
if (!(this.
|
|
613
|
+
if (!(this.b14_1 === other.b14_1))
|
|
614
614
|
return false;
|
|
615
|
-
if (!(this.
|
|
615
|
+
if (!(this.d14_1 === other.d14_1))
|
|
616
616
|
return false;
|
|
617
617
|
return true;
|
|
618
618
|
};
|
|
619
619
|
protoOf(JsonLiteral).hashCode = function () {
|
|
620
|
-
var result = this.
|
|
621
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
620
|
+
var result = this.b14_1 | 0;
|
|
621
|
+
result = imul(31, result) + getStringHashCode(this.d14_1) | 0;
|
|
622
622
|
return result;
|
|
623
623
|
};
|
|
624
624
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
625
|
-
return $this.
|
|
625
|
+
return $this.f14_1.w();
|
|
626
626
|
}
|
|
627
627
|
function JsonNull$_anonymous__enib48() {
|
|
628
628
|
return JsonNullSerializer_getInstance();
|
|
@@ -630,19 +630,19 @@
|
|
|
630
630
|
function JsonNull() {
|
|
631
631
|
JsonNull_instance = this;
|
|
632
632
|
JsonPrimitive.call(this);
|
|
633
|
-
this.
|
|
633
|
+
this.e14_1 = 'null';
|
|
634
634
|
var tmp = this;
|
|
635
635
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
636
|
-
tmp.
|
|
636
|
+
tmp.f14_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
637
637
|
}
|
|
638
|
-
protoOf(JsonNull).
|
|
639
|
-
return this.
|
|
638
|
+
protoOf(JsonNull).u13 = function () {
|
|
639
|
+
return this.e14_1;
|
|
640
640
|
};
|
|
641
|
-
protoOf(JsonNull).
|
|
641
|
+
protoOf(JsonNull).g14 = function () {
|
|
642
642
|
return _get_$cachedSerializer__te6jhj(this);
|
|
643
643
|
};
|
|
644
|
-
protoOf(JsonNull).
|
|
645
|
-
return this.
|
|
644
|
+
protoOf(JsonNull).kv = function (typeParamsSerializers) {
|
|
645
|
+
return this.g14();
|
|
646
646
|
};
|
|
647
647
|
var JsonNull_instance;
|
|
648
648
|
function JsonNull_getInstance() {
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
}
|
|
657
657
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
658
658
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
659
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
659
|
+
return toBooleanStrictOrNull(_this__u8e3s4.u13());
|
|
660
660
|
}
|
|
661
661
|
function JsonPrimitive_0(value) {
|
|
662
662
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -666,17 +666,17 @@
|
|
|
666
666
|
}
|
|
667
667
|
function get_int(_this__u8e3s4) {
|
|
668
668
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
669
|
-
return toInt(_this__u8e3s4.
|
|
669
|
+
return toInt(_this__u8e3s4.u13());
|
|
670
670
|
}
|
|
671
671
|
function get_long(_this__u8e3s4) {
|
|
672
672
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
673
|
-
return toLong(_this__u8e3s4.
|
|
673
|
+
return toLong(_this__u8e3s4.u13());
|
|
674
674
|
}
|
|
675
675
|
function get_float(_this__u8e3s4) {
|
|
676
676
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
677
677
|
var tmp$ret$2;
|
|
678
678
|
// Inline function 'kotlin.text.toFloat' call
|
|
679
|
-
var tmp1_toFloat = _this__u8e3s4.
|
|
679
|
+
var tmp1_toFloat = _this__u8e3s4.u13();
|
|
680
680
|
var tmp$ret$1;
|
|
681
681
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
682
682
|
var tmp0_unsafeCast = toDouble(tmp1_toFloat);
|
|
@@ -689,7 +689,7 @@
|
|
|
689
689
|
}
|
|
690
690
|
function get_double(_this__u8e3s4) {
|
|
691
691
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
692
|
-
return toDouble(_this__u8e3s4.
|
|
692
|
+
return toDouble(_this__u8e3s4.u13());
|
|
693
693
|
}
|
|
694
694
|
function get_contentOrNull(_this__u8e3s4) {
|
|
695
695
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
698
698
|
tmp = null;
|
|
699
699
|
} else {
|
|
700
|
-
tmp = _this__u8e3s4.
|
|
700
|
+
tmp = _this__u8e3s4.u13();
|
|
701
701
|
}
|
|
702
702
|
return tmp;
|
|
703
703
|
}
|
|
@@ -721,40 +721,40 @@
|
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
723
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
724
|
-
$this$buildSerialDescriptor.
|
|
725
|
-
$this$buildSerialDescriptor.
|
|
726
|
-
$this$buildSerialDescriptor.
|
|
727
|
-
$this$buildSerialDescriptor.
|
|
728
|
-
$this$buildSerialDescriptor.
|
|
724
|
+
$this$buildSerialDescriptor.mm('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
725
|
+
$this$buildSerialDescriptor.mm('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
726
|
+
$this$buildSerialDescriptor.mm('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
727
|
+
$this$buildSerialDescriptor.mm('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
728
|
+
$this$buildSerialDescriptor.mm('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
729
729
|
return Unit_getInstance();
|
|
730
730
|
}
|
|
731
731
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
732
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
732
|
+
return JsonPrimitiveSerializer_getInstance().h14_1;
|
|
733
733
|
}
|
|
734
734
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
735
|
-
return JsonNullSerializer_getInstance().
|
|
735
|
+
return JsonNullSerializer_getInstance().i14_1;
|
|
736
736
|
}
|
|
737
737
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
738
|
-
return JsonLiteralSerializer_getInstance().
|
|
738
|
+
return JsonLiteralSerializer_getInstance().j14_1;
|
|
739
739
|
}
|
|
740
740
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
741
|
-
return JsonObjectSerializer_getInstance().
|
|
741
|
+
return JsonObjectSerializer_getInstance().k14_1;
|
|
742
742
|
}
|
|
743
743
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
744
|
-
return JsonArraySerializer_getInstance().
|
|
744
|
+
return JsonArraySerializer_getInstance().l14_1;
|
|
745
745
|
}
|
|
746
746
|
function JsonElementSerializer() {
|
|
747
747
|
JsonElementSerializer_instance = this;
|
|
748
748
|
var tmp = this;
|
|
749
749
|
var tmp_0 = SEALED_getInstance();
|
|
750
|
-
tmp.
|
|
750
|
+
tmp.m14_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
751
751
|
}
|
|
752
|
-
protoOf(JsonElementSerializer).
|
|
753
|
-
return this.
|
|
752
|
+
protoOf(JsonElementSerializer).cm = function () {
|
|
753
|
+
return this.m14_1;
|
|
754
754
|
};
|
|
755
|
-
protoOf(JsonElementSerializer).
|
|
755
|
+
protoOf(JsonElementSerializer).dm = function (decoder) {
|
|
756
756
|
var input = asJsonDecoder(decoder);
|
|
757
|
-
return input.
|
|
757
|
+
return input.t13();
|
|
758
758
|
};
|
|
759
759
|
var JsonElementSerializer_instance;
|
|
760
760
|
function JsonElementSerializer_getInstance() {
|
|
@@ -764,13 +764,13 @@
|
|
|
764
764
|
}
|
|
765
765
|
function JsonPrimitiveSerializer() {
|
|
766
766
|
JsonPrimitiveSerializer_instance = this;
|
|
767
|
-
this.
|
|
767
|
+
this.h14_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
768
768
|
}
|
|
769
|
-
protoOf(JsonPrimitiveSerializer).
|
|
770
|
-
return this.
|
|
769
|
+
protoOf(JsonPrimitiveSerializer).cm = function () {
|
|
770
|
+
return this.h14_1;
|
|
771
771
|
};
|
|
772
|
-
protoOf(JsonPrimitiveSerializer).
|
|
773
|
-
var result = asJsonDecoder(decoder).
|
|
772
|
+
protoOf(JsonPrimitiveSerializer).dm = function (decoder) {
|
|
773
|
+
var result = asJsonDecoder(decoder).t13();
|
|
774
774
|
if (!(result instanceof JsonPrimitive))
|
|
775
775
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
776
776
|
return result;
|
|
@@ -783,41 +783,41 @@
|
|
|
783
783
|
}
|
|
784
784
|
function JsonObjectDescriptor() {
|
|
785
785
|
JsonObjectDescriptor_instance = this;
|
|
786
|
-
this.
|
|
787
|
-
this.
|
|
786
|
+
this.n14_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).cm();
|
|
787
|
+
this.o14_1 = 'kotlinx.serialization.json.JsonObject';
|
|
788
788
|
}
|
|
789
|
-
protoOf(JsonObjectDescriptor).
|
|
790
|
-
return this.
|
|
789
|
+
protoOf(JsonObjectDescriptor).en = function () {
|
|
790
|
+
return this.n14_1.en();
|
|
791
791
|
};
|
|
792
|
-
protoOf(JsonObjectDescriptor).
|
|
793
|
-
return this.
|
|
792
|
+
protoOf(JsonObjectDescriptor).fn = function () {
|
|
793
|
+
return this.n14_1.fn();
|
|
794
794
|
};
|
|
795
|
-
protoOf(JsonObjectDescriptor).
|
|
796
|
-
return this.
|
|
795
|
+
protoOf(JsonObjectDescriptor).gn = function () {
|
|
796
|
+
return this.n14_1.gn();
|
|
797
797
|
};
|
|
798
|
-
protoOf(JsonObjectDescriptor).
|
|
799
|
-
return this.
|
|
798
|
+
protoOf(JsonObjectDescriptor).zm = function () {
|
|
799
|
+
return this.n14_1.zm();
|
|
800
800
|
};
|
|
801
|
-
protoOf(JsonObjectDescriptor).
|
|
802
|
-
return this.
|
|
801
|
+
protoOf(JsonObjectDescriptor).hn = function () {
|
|
802
|
+
return this.n14_1.hn();
|
|
803
803
|
};
|
|
804
|
-
protoOf(JsonObjectDescriptor).
|
|
805
|
-
return this.
|
|
804
|
+
protoOf(JsonObjectDescriptor).in = function (index) {
|
|
805
|
+
return this.n14_1.in(index);
|
|
806
806
|
};
|
|
807
|
-
protoOf(JsonObjectDescriptor).
|
|
808
|
-
return this.
|
|
807
|
+
protoOf(JsonObjectDescriptor).jn = function (index) {
|
|
808
|
+
return this.n14_1.jn(index);
|
|
809
809
|
};
|
|
810
|
-
protoOf(JsonObjectDescriptor).
|
|
811
|
-
return this.
|
|
810
|
+
protoOf(JsonObjectDescriptor).kn = function (name) {
|
|
811
|
+
return this.n14_1.kn(name);
|
|
812
812
|
};
|
|
813
|
-
protoOf(JsonObjectDescriptor).
|
|
814
|
-
return this.
|
|
813
|
+
protoOf(JsonObjectDescriptor).ln = function (index) {
|
|
814
|
+
return this.n14_1.ln(index);
|
|
815
815
|
};
|
|
816
|
-
protoOf(JsonObjectDescriptor).
|
|
817
|
-
return this.
|
|
816
|
+
protoOf(JsonObjectDescriptor).mn = function (index) {
|
|
817
|
+
return this.n14_1.mn(index);
|
|
818
818
|
};
|
|
819
|
-
protoOf(JsonObjectDescriptor).
|
|
820
|
-
return this.
|
|
819
|
+
protoOf(JsonObjectDescriptor).dn = function () {
|
|
820
|
+
return this.o14_1;
|
|
821
821
|
};
|
|
822
822
|
var JsonObjectDescriptor_instance;
|
|
823
823
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -827,14 +827,14 @@
|
|
|
827
827
|
}
|
|
828
828
|
function JsonObjectSerializer() {
|
|
829
829
|
JsonObjectSerializer_instance = this;
|
|
830
|
-
this.
|
|
830
|
+
this.k14_1 = JsonObjectDescriptor_getInstance();
|
|
831
831
|
}
|
|
832
|
-
protoOf(JsonObjectSerializer).
|
|
833
|
-
return this.
|
|
832
|
+
protoOf(JsonObjectSerializer).cm = function () {
|
|
833
|
+
return this.k14_1;
|
|
834
834
|
};
|
|
835
|
-
protoOf(JsonObjectSerializer).
|
|
835
|
+
protoOf(JsonObjectSerializer).dm = function (decoder) {
|
|
836
836
|
verify(decoder);
|
|
837
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
837
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).dm(decoder));
|
|
838
838
|
};
|
|
839
839
|
var JsonObjectSerializer_instance;
|
|
840
840
|
function JsonObjectSerializer_getInstance() {
|
|
@@ -844,41 +844,41 @@
|
|
|
844
844
|
}
|
|
845
845
|
function JsonArrayDescriptor() {
|
|
846
846
|
JsonArrayDescriptor_instance = this;
|
|
847
|
-
this.
|
|
848
|
-
this.
|
|
847
|
+
this.p14_1 = ListSerializer(JsonElementSerializer_getInstance()).cm();
|
|
848
|
+
this.q14_1 = 'kotlinx.serialization.json.JsonArray';
|
|
849
849
|
}
|
|
850
|
-
protoOf(JsonArrayDescriptor).
|
|
851
|
-
return this.
|
|
850
|
+
protoOf(JsonArrayDescriptor).en = function () {
|
|
851
|
+
return this.p14_1.en();
|
|
852
852
|
};
|
|
853
|
-
protoOf(JsonArrayDescriptor).
|
|
854
|
-
return this.
|
|
853
|
+
protoOf(JsonArrayDescriptor).fn = function () {
|
|
854
|
+
return this.p14_1.fn();
|
|
855
855
|
};
|
|
856
|
-
protoOf(JsonArrayDescriptor).
|
|
857
|
-
return this.
|
|
856
|
+
protoOf(JsonArrayDescriptor).gn = function () {
|
|
857
|
+
return this.p14_1.gn();
|
|
858
858
|
};
|
|
859
|
-
protoOf(JsonArrayDescriptor).
|
|
860
|
-
return this.
|
|
859
|
+
protoOf(JsonArrayDescriptor).zm = function () {
|
|
860
|
+
return this.p14_1.zm();
|
|
861
861
|
};
|
|
862
|
-
protoOf(JsonArrayDescriptor).
|
|
863
|
-
return this.
|
|
862
|
+
protoOf(JsonArrayDescriptor).hn = function () {
|
|
863
|
+
return this.p14_1.hn();
|
|
864
864
|
};
|
|
865
|
-
protoOf(JsonArrayDescriptor).
|
|
866
|
-
return this.
|
|
865
|
+
protoOf(JsonArrayDescriptor).in = function (index) {
|
|
866
|
+
return this.p14_1.in(index);
|
|
867
867
|
};
|
|
868
|
-
protoOf(JsonArrayDescriptor).
|
|
869
|
-
return this.
|
|
868
|
+
protoOf(JsonArrayDescriptor).jn = function (index) {
|
|
869
|
+
return this.p14_1.jn(index);
|
|
870
870
|
};
|
|
871
|
-
protoOf(JsonArrayDescriptor).
|
|
872
|
-
return this.
|
|
871
|
+
protoOf(JsonArrayDescriptor).kn = function (name) {
|
|
872
|
+
return this.p14_1.kn(name);
|
|
873
873
|
};
|
|
874
|
-
protoOf(JsonArrayDescriptor).
|
|
875
|
-
return this.
|
|
874
|
+
protoOf(JsonArrayDescriptor).ln = function (index) {
|
|
875
|
+
return this.p14_1.ln(index);
|
|
876
876
|
};
|
|
877
|
-
protoOf(JsonArrayDescriptor).
|
|
878
|
-
return this.
|
|
877
|
+
protoOf(JsonArrayDescriptor).mn = function (index) {
|
|
878
|
+
return this.p14_1.mn(index);
|
|
879
879
|
};
|
|
880
|
-
protoOf(JsonArrayDescriptor).
|
|
881
|
-
return this.
|
|
880
|
+
protoOf(JsonArrayDescriptor).dn = function () {
|
|
881
|
+
return this.q14_1;
|
|
882
882
|
};
|
|
883
883
|
var JsonArrayDescriptor_instance;
|
|
884
884
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -888,14 +888,14 @@
|
|
|
888
888
|
}
|
|
889
889
|
function JsonArraySerializer() {
|
|
890
890
|
JsonArraySerializer_instance = this;
|
|
891
|
-
this.
|
|
891
|
+
this.l14_1 = JsonArrayDescriptor_getInstance();
|
|
892
892
|
}
|
|
893
|
-
protoOf(JsonArraySerializer).
|
|
894
|
-
return this.
|
|
893
|
+
protoOf(JsonArraySerializer).cm = function () {
|
|
894
|
+
return this.l14_1;
|
|
895
895
|
};
|
|
896
|
-
protoOf(JsonArraySerializer).
|
|
896
|
+
protoOf(JsonArraySerializer).dm = function (decoder) {
|
|
897
897
|
verify(decoder);
|
|
898
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
898
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).dm(decoder));
|
|
899
899
|
};
|
|
900
900
|
var JsonArraySerializer_instance;
|
|
901
901
|
function JsonArraySerializer_getInstance() {
|
|
@@ -905,17 +905,17 @@
|
|
|
905
905
|
}
|
|
906
906
|
function JsonNullSerializer() {
|
|
907
907
|
JsonNullSerializer_instance = this;
|
|
908
|
-
this.
|
|
908
|
+
this.i14_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
909
909
|
}
|
|
910
|
-
protoOf(JsonNullSerializer).
|
|
911
|
-
return this.
|
|
910
|
+
protoOf(JsonNullSerializer).cm = function () {
|
|
911
|
+
return this.i14_1;
|
|
912
912
|
};
|
|
913
|
-
protoOf(JsonNullSerializer).
|
|
913
|
+
protoOf(JsonNullSerializer).dm = function (decoder) {
|
|
914
914
|
verify(decoder);
|
|
915
|
-
if (decoder.
|
|
915
|
+
if (decoder.lo()) {
|
|
916
916
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
917
917
|
}
|
|
918
|
-
decoder.
|
|
918
|
+
decoder.mo();
|
|
919
919
|
return JsonNull_getInstance();
|
|
920
920
|
};
|
|
921
921
|
var JsonNullSerializer_instance;
|
|
@@ -929,13 +929,13 @@
|
|
|
929
929
|
}
|
|
930
930
|
function JsonLiteralSerializer() {
|
|
931
931
|
JsonLiteralSerializer_instance = this;
|
|
932
|
-
this.
|
|
932
|
+
this.j14_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
933
933
|
}
|
|
934
|
-
protoOf(JsonLiteralSerializer).
|
|
935
|
-
return this.
|
|
934
|
+
protoOf(JsonLiteralSerializer).cm = function () {
|
|
935
|
+
return this.j14_1;
|
|
936
936
|
};
|
|
937
|
-
protoOf(JsonLiteralSerializer).
|
|
938
|
-
var result = asJsonDecoder(decoder).
|
|
937
|
+
protoOf(JsonLiteralSerializer).dm = function (decoder) {
|
|
938
|
+
var result = asJsonDecoder(decoder).t13();
|
|
939
939
|
if (!(result instanceof JsonLiteral))
|
|
940
940
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
941
941
|
return result;
|
|
@@ -963,44 +963,44 @@
|
|
|
963
963
|
var tmp$ret$0;
|
|
964
964
|
// Inline function 'kotlin.getValue' call
|
|
965
965
|
var tmp0_getValue = original$factory();
|
|
966
|
-
tmp$ret$0 = $this.
|
|
966
|
+
tmp$ret$0 = $this.r14_1.w();
|
|
967
967
|
return tmp$ret$0;
|
|
968
968
|
}
|
|
969
969
|
function defer$1($deferred) {
|
|
970
|
-
this.
|
|
970
|
+
this.r14_1 = lazy_0($deferred);
|
|
971
971
|
}
|
|
972
|
-
protoOf(defer$1).
|
|
973
|
-
return _get_original__l7ku1m(this).
|
|
972
|
+
protoOf(defer$1).dn = function () {
|
|
973
|
+
return _get_original__l7ku1m(this).dn();
|
|
974
974
|
};
|
|
975
|
-
protoOf(defer$1).
|
|
976
|
-
return _get_original__l7ku1m(this).
|
|
975
|
+
protoOf(defer$1).hn = function () {
|
|
976
|
+
return _get_original__l7ku1m(this).hn();
|
|
977
977
|
};
|
|
978
|
-
protoOf(defer$1).
|
|
979
|
-
return _get_original__l7ku1m(this).
|
|
978
|
+
protoOf(defer$1).fn = function () {
|
|
979
|
+
return _get_original__l7ku1m(this).fn();
|
|
980
980
|
};
|
|
981
|
-
protoOf(defer$1).
|
|
982
|
-
return _get_original__l7ku1m(this).
|
|
981
|
+
protoOf(defer$1).ln = function (index) {
|
|
982
|
+
return _get_original__l7ku1m(this).ln(index);
|
|
983
983
|
};
|
|
984
|
-
protoOf(defer$1).
|
|
985
|
-
return _get_original__l7ku1m(this).
|
|
984
|
+
protoOf(defer$1).kn = function (name) {
|
|
985
|
+
return _get_original__l7ku1m(this).kn(name);
|
|
986
986
|
};
|
|
987
|
-
protoOf(defer$1).
|
|
988
|
-
return _get_original__l7ku1m(this).
|
|
989
|
-
};
|
|
990
|
-
protoOf(defer$1).gn = function (index) {
|
|
991
|
-
return _get_original__l7ku1m(this).gn(index);
|
|
987
|
+
protoOf(defer$1).in = function (index) {
|
|
988
|
+
return _get_original__l7ku1m(this).in(index);
|
|
992
989
|
};
|
|
993
990
|
protoOf(defer$1).jn = function (index) {
|
|
994
991
|
return _get_original__l7ku1m(this).jn(index);
|
|
995
992
|
};
|
|
993
|
+
protoOf(defer$1).mn = function (index) {
|
|
994
|
+
return _get_original__l7ku1m(this).mn(index);
|
|
995
|
+
};
|
|
996
996
|
function original$factory() {
|
|
997
997
|
return getPropertyCallableRef('original', 1, KProperty1, function (receiver) {
|
|
998
998
|
return _get_original__l7ku1m(receiver);
|
|
999
999
|
}, null);
|
|
1000
1000
|
}
|
|
1001
1001
|
function readIfAbsent($this, descriptor, index) {
|
|
1002
|
-
$this.
|
|
1003
|
-
return $this.
|
|
1002
|
+
$this.t14_1 = !descriptor.mn(index) ? descriptor.jn(index).zm() : false;
|
|
1003
|
+
return $this.t14_1;
|
|
1004
1004
|
}
|
|
1005
1005
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1006
1006
|
var l = function (p0, p1) {
|
|
@@ -1011,14 +1011,14 @@
|
|
|
1011
1011
|
}
|
|
1012
1012
|
function JsonElementMarker(descriptor) {
|
|
1013
1013
|
var tmp = this;
|
|
1014
|
-
tmp.
|
|
1015
|
-
this.
|
|
1014
|
+
tmp.s14_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1015
|
+
this.t14_1 = false;
|
|
1016
1016
|
}
|
|
1017
|
-
protoOf(JsonElementMarker).
|
|
1018
|
-
this.
|
|
1017
|
+
protoOf(JsonElementMarker).dt = function (index) {
|
|
1018
|
+
this.s14_1.dt(index);
|
|
1019
1019
|
};
|
|
1020
|
-
protoOf(JsonElementMarker).
|
|
1021
|
-
return this.
|
|
1020
|
+
protoOf(JsonElementMarker).et = function () {
|
|
1021
|
+
return this.s14_1.et();
|
|
1022
1022
|
};
|
|
1023
1023
|
function JsonDecodingException(message) {
|
|
1024
1024
|
JsonException.call(this, message);
|
|
@@ -1060,14 +1060,14 @@
|
|
|
1060
1060
|
return prefix + tmp$ret$1 + suffix;
|
|
1061
1061
|
}
|
|
1062
1062
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1063
|
-
_this__u8e3s4.
|
|
1063
|
+
_this__u8e3s4.u14('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, get_specialFlowingValuesHint());
|
|
1064
1064
|
}
|
|
1065
1065
|
function JsonEncodingException(message) {
|
|
1066
1066
|
JsonException.call(this, message);
|
|
1067
1067
|
captureStack(this, JsonEncodingException);
|
|
1068
1068
|
}
|
|
1069
1069
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1070
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
1070
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.dn() + "' 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.hn() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1071
1071
|
}
|
|
1072
1072
|
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1073
1073
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
@@ -1089,11 +1089,11 @@
|
|
|
1089
1089
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1090
1090
|
if (!(strategy == null))
|
|
1091
1091
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1092
|
-
var index = _this__u8e3s4.
|
|
1092
|
+
var index = _this__u8e3s4.kn(name);
|
|
1093
1093
|
Companion_getInstance();
|
|
1094
1094
|
if (!(index === -3))
|
|
1095
1095
|
return index;
|
|
1096
|
-
if (!json.
|
|
1096
|
+
if (!json.z11_1.q13_1)
|
|
1097
1097
|
return index;
|
|
1098
1098
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1099
1099
|
}
|
|
@@ -1103,18 +1103,18 @@
|
|
|
1103
1103
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1104
1104
|
Companion_getInstance();
|
|
1105
1105
|
if (index === -3)
|
|
1106
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1106
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.dn() + " does not contain element with name '" + name + "'" + suffix);
|
|
1107
1107
|
return index;
|
|
1108
1108
|
}
|
|
1109
1109
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1110
1110
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1111
|
-
return equals(_this__u8e3s4.
|
|
1111
|
+
return equals(_this__u8e3s4.hn(), CLASS_getInstance()) ? json.z11_1.r13_1 : null;
|
|
1112
1112
|
}
|
|
1113
1113
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1114
1114
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1115
1115
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1116
1116
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1117
|
-
return tmp.
|
|
1117
|
+
return tmp.w14(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1118
1118
|
}
|
|
1119
1119
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1120
1120
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1124,14 +1124,14 @@
|
|
|
1124
1124
|
var builder = tmp$ret$0;
|
|
1125
1125
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1126
1126
|
var inductionVariable = 0;
|
|
1127
|
-
var last = _this__u8e3s4.
|
|
1127
|
+
var last = _this__u8e3s4.fn();
|
|
1128
1128
|
if (inductionVariable < last)
|
|
1129
1129
|
do {
|
|
1130
1130
|
var i = inductionVariable;
|
|
1131
1131
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1132
1132
|
var tmp$ret$2;
|
|
1133
1133
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1134
|
-
var tmp1_filterIsInstance = _this__u8e3s4.
|
|
1134
|
+
var tmp1_filterIsInstance = _this__u8e3s4.in(i);
|
|
1135
1135
|
var tmp$ret$1;
|
|
1136
1136
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1137
1137
|
var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
|
|
@@ -1145,7 +1145,7 @@
|
|
|
1145
1145
|
tmp$ret$1 = tmp0_filterIsInstanceTo;
|
|
1146
1146
|
tmp$ret$2 = tmp$ret$1;
|
|
1147
1147
|
var tmp1_safe_receiver = singleOrNull(tmp$ret$2);
|
|
1148
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1148
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.x14_1;
|
|
1149
1149
|
if (tmp2_safe_receiver == null)
|
|
1150
1150
|
null;
|
|
1151
1151
|
else {
|
|
@@ -1164,7 +1164,7 @@
|
|
|
1164
1164
|
var tmp$ret$3;
|
|
1165
1165
|
// Inline function 'kotlin.let' call
|
|
1166
1166
|
// Inline function 'kotlin.contracts.contract' call
|
|
1167
|
-
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp3_safe_receiver.
|
|
1167
|
+
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp3_safe_receiver.y14(_this__u8e3s4, i, _this__u8e3s4.ln(i)), i);
|
|
1168
1168
|
tmp$ret$3 = Unit_getInstance();
|
|
1169
1169
|
}
|
|
1170
1170
|
}
|
|
@@ -1202,7 +1202,7 @@
|
|
|
1202
1202
|
tmp$ret$0 = (isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).i2(name);
|
|
1203
1203
|
tmp$ret$1 = tmp$ret$0;
|
|
1204
1204
|
if (tmp$ret$1) {
|
|
1205
|
-
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.
|
|
1205
|
+
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.ln(index) + ' is already one of the names for property ' + ($this_buildDeserializationNamesMap.ln(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildDeserializationNamesMap));
|
|
1206
1206
|
}
|
|
1207
1207
|
// Inline function 'kotlin.collections.set' call
|
|
1208
1208
|
_this__u8e3s4.k3(name, index);
|
|
@@ -1231,16 +1231,16 @@
|
|
|
1231
1231
|
return Tombstone_instance;
|
|
1232
1232
|
}
|
|
1233
1233
|
function resize($this) {
|
|
1234
|
-
var newSize = imul($this.
|
|
1235
|
-
$this.
|
|
1236
|
-
$this.
|
|
1234
|
+
var newSize = imul($this.b15_1, 2);
|
|
1235
|
+
$this.z14_1 = copyOf($this.z14_1, newSize);
|
|
1236
|
+
$this.a15_1 = copyOf_0($this.a15_1, newSize);
|
|
1237
1237
|
}
|
|
1238
1238
|
function JsonPath() {
|
|
1239
1239
|
var tmp = this;
|
|
1240
1240
|
var tmp$ret$0;
|
|
1241
1241
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1242
1242
|
tmp$ret$0 = fillArrayVal(Array(8), null);
|
|
1243
|
-
tmp.
|
|
1243
|
+
tmp.z14_1 = tmp$ret$0;
|
|
1244
1244
|
var tmp_0 = this;
|
|
1245
1245
|
var tmp_1 = 0;
|
|
1246
1246
|
var tmp_2 = 8;
|
|
@@ -1253,56 +1253,56 @@
|
|
|
1253
1253
|
tmp_3[tmp_4] = tmp$ret$1;
|
|
1254
1254
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1255
1255
|
}
|
|
1256
|
-
tmp_0.
|
|
1257
|
-
this.
|
|
1256
|
+
tmp_0.a15_1 = tmp_3;
|
|
1257
|
+
this.b15_1 = -1;
|
|
1258
1258
|
}
|
|
1259
|
-
protoOf(JsonPath).
|
|
1259
|
+
protoOf(JsonPath).c15 = function (sd) {
|
|
1260
1260
|
var tmp0_this = this;
|
|
1261
|
-
tmp0_this.
|
|
1262
|
-
var depth = tmp0_this.
|
|
1263
|
-
if (depth === this.
|
|
1261
|
+
tmp0_this.b15_1 = tmp0_this.b15_1 + 1 | 0;
|
|
1262
|
+
var depth = tmp0_this.b15_1;
|
|
1263
|
+
if (depth === this.z14_1.length) {
|
|
1264
1264
|
resize(this);
|
|
1265
1265
|
}
|
|
1266
|
-
this.
|
|
1266
|
+
this.z14_1[depth] = sd;
|
|
1267
1267
|
};
|
|
1268
|
-
protoOf(JsonPath).
|
|
1269
|
-
this.
|
|
1268
|
+
protoOf(JsonPath).d15 = function (index) {
|
|
1269
|
+
this.a15_1[this.b15_1] = index;
|
|
1270
1270
|
};
|
|
1271
|
-
protoOf(JsonPath).
|
|
1271
|
+
protoOf(JsonPath).e15 = function (key) {
|
|
1272
1272
|
var tmp;
|
|
1273
|
-
if (!(this.
|
|
1273
|
+
if (!(this.a15_1[this.b15_1] === -2)) {
|
|
1274
1274
|
var tmp0_this = this;
|
|
1275
|
-
tmp0_this.
|
|
1276
|
-
tmp = tmp0_this.
|
|
1275
|
+
tmp0_this.b15_1 = tmp0_this.b15_1 + 1 | 0;
|
|
1276
|
+
tmp = tmp0_this.b15_1 === this.z14_1.length;
|
|
1277
1277
|
} else {
|
|
1278
1278
|
tmp = false;
|
|
1279
1279
|
}
|
|
1280
1280
|
if (tmp) {
|
|
1281
1281
|
resize(this);
|
|
1282
1282
|
}
|
|
1283
|
-
this.
|
|
1284
|
-
this.
|
|
1283
|
+
this.z14_1[this.b15_1] = key;
|
|
1284
|
+
this.a15_1[this.b15_1] = -2;
|
|
1285
1285
|
};
|
|
1286
|
-
protoOf(JsonPath).
|
|
1287
|
-
if (this.
|
|
1288
|
-
this.
|
|
1286
|
+
protoOf(JsonPath).f15 = function () {
|
|
1287
|
+
if (this.a15_1[this.b15_1] === -2) {
|
|
1288
|
+
this.z14_1[this.b15_1] = Tombstone_getInstance();
|
|
1289
1289
|
}
|
|
1290
1290
|
};
|
|
1291
|
-
protoOf(JsonPath).
|
|
1292
|
-
var depth = this.
|
|
1293
|
-
if (this.
|
|
1294
|
-
this.
|
|
1291
|
+
protoOf(JsonPath).g15 = function () {
|
|
1292
|
+
var depth = this.b15_1;
|
|
1293
|
+
if (this.a15_1[depth] === -2) {
|
|
1294
|
+
this.a15_1[depth] = -1;
|
|
1295
1295
|
var tmp0_this = this;
|
|
1296
|
-
var tmp1 = tmp0_this.
|
|
1297
|
-
tmp0_this.
|
|
1296
|
+
var tmp1 = tmp0_this.b15_1;
|
|
1297
|
+
tmp0_this.b15_1 = tmp1 - 1 | 0;
|
|
1298
1298
|
}
|
|
1299
|
-
if (!(this.
|
|
1299
|
+
if (!(this.b15_1 === -1)) {
|
|
1300
1300
|
var tmp2_this = this;
|
|
1301
|
-
var tmp3 = tmp2_this.
|
|
1302
|
-
tmp2_this.
|
|
1301
|
+
var tmp3 = tmp2_this.b15_1;
|
|
1302
|
+
tmp2_this.b15_1 = tmp3 - 1 | 0;
|
|
1303
1303
|
}
|
|
1304
1304
|
};
|
|
1305
|
-
protoOf(JsonPath).
|
|
1305
|
+
protoOf(JsonPath).h15 = function () {
|
|
1306
1306
|
var tmp$ret$1;
|
|
1307
1307
|
// Inline function 'kotlin.text.buildString' call
|
|
1308
1308
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1313,7 +1313,7 @@
|
|
|
1313
1313
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1314
1314
|
tmp0_apply.y5('$');
|
|
1315
1315
|
// Inline function 'kotlin.repeat' call
|
|
1316
|
-
var tmp0_repeat = this.
|
|
1316
|
+
var tmp0_repeat = this.b15_1 + 1 | 0;
|
|
1317
1317
|
// Inline function 'kotlin.contracts.contract' call
|
|
1318
1318
|
var inductionVariable = 0;
|
|
1319
1319
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1321,19 +1321,19 @@
|
|
|
1321
1321
|
var index = inductionVariable;
|
|
1322
1322
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1323
1323
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1324
|
-
var element = this.
|
|
1324
|
+
var element = this.z14_1[index];
|
|
1325
1325
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1326
|
-
if (equals(element.
|
|
1327
|
-
if (!(this.
|
|
1326
|
+
if (equals(element.hn(), LIST_getInstance())) {
|
|
1327
|
+
if (!(this.a15_1[index] === -1)) {
|
|
1328
1328
|
tmp0_apply.y5('[');
|
|
1329
|
-
tmp0_apply.x5(this.
|
|
1329
|
+
tmp0_apply.x5(this.a15_1[index]);
|
|
1330
1330
|
tmp0_apply.y5(']');
|
|
1331
1331
|
}
|
|
1332
1332
|
} else {
|
|
1333
|
-
var idx = this.
|
|
1333
|
+
var idx = this.a15_1[index];
|
|
1334
1334
|
if (idx >= 0) {
|
|
1335
1335
|
tmp0_apply.y5('.');
|
|
1336
|
-
tmp0_apply.y5(element.
|
|
1336
|
+
tmp0_apply.y5(element.ln(idx));
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
} else {
|
|
@@ -1352,42 +1352,42 @@
|
|
|
1352
1352
|
return tmp$ret$1;
|
|
1353
1353
|
};
|
|
1354
1354
|
protoOf(JsonPath).toString = function () {
|
|
1355
|
-
return this.
|
|
1355
|
+
return this.h15();
|
|
1356
1356
|
};
|
|
1357
1357
|
function readObject($this) {
|
|
1358
1358
|
var tmp$ret$2;
|
|
1359
1359
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1360
|
-
var lastToken = $this.
|
|
1361
|
-
if ($this.
|
|
1362
|
-
$this.
|
|
1360
|
+
var lastToken = $this.i15_1.l15(get_TC_BEGIN_OBJ());
|
|
1361
|
+
if ($this.i15_1.m15() === get_TC_COMMA()) {
|
|
1362
|
+
$this.i15_1.u14('Unexpected leading comma');
|
|
1363
1363
|
}
|
|
1364
1364
|
var tmp$ret$0;
|
|
1365
1365
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1366
1366
|
tmp$ret$0 = LinkedHashMap_init_$Create$();
|
|
1367
1367
|
var result = tmp$ret$0;
|
|
1368
|
-
$l$loop: while ($this.
|
|
1369
|
-
var key = $this.
|
|
1370
|
-
$this.
|
|
1368
|
+
$l$loop: while ($this.i15_1.n15()) {
|
|
1369
|
+
var key = $this.j15_1 ? $this.i15_1.p15() : $this.i15_1.o15();
|
|
1370
|
+
$this.i15_1.l15(get_TC_COLON());
|
|
1371
1371
|
var tmp$ret$1;
|
|
1372
1372
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1373
|
-
tmp$ret$1 = $this.
|
|
1373
|
+
tmp$ret$1 = $this.q15();
|
|
1374
1374
|
var element = tmp$ret$1;
|
|
1375
1375
|
// Inline function 'kotlin.collections.set' call
|
|
1376
1376
|
result.k3(key, element);
|
|
1377
|
-
lastToken = $this.
|
|
1377
|
+
lastToken = $this.i15_1.r15();
|
|
1378
1378
|
var tmp0_subject = lastToken;
|
|
1379
1379
|
if (tmp0_subject === get_TC_COMMA())
|
|
1380
1380
|
;
|
|
1381
1381
|
else if (tmp0_subject === get_TC_END_OBJ())
|
|
1382
1382
|
break $l$loop;
|
|
1383
1383
|
else {
|
|
1384
|
-
$this.
|
|
1384
|
+
$this.i15_1.u14('Expected end of the object or comma');
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
1387
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1388
|
-
$this.
|
|
1388
|
+
$this.i15_1.l15(get_TC_END_OBJ());
|
|
1389
1389
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1390
|
-
$this.
|
|
1390
|
+
$this.i15_1.u14('Unexpected trailing comma');
|
|
1391
1391
|
}
|
|
1392
1392
|
tmp$ret$2 = new JsonObject(result);
|
|
1393
1393
|
return tmp$ret$2;
|
|
@@ -1399,44 +1399,44 @@
|
|
|
1399
1399
|
return tmp.dg();
|
|
1400
1400
|
}
|
|
1401
1401
|
function readArray($this) {
|
|
1402
|
-
var lastToken = $this.
|
|
1403
|
-
if ($this.
|
|
1404
|
-
$this.
|
|
1402
|
+
var lastToken = $this.i15_1.r15();
|
|
1403
|
+
if ($this.i15_1.m15() === get_TC_COMMA()) {
|
|
1404
|
+
$this.i15_1.u14('Unexpected leading comma');
|
|
1405
1405
|
}
|
|
1406
1406
|
var tmp$ret$0;
|
|
1407
1407
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1408
1408
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
1409
1409
|
var result = tmp$ret$0;
|
|
1410
|
-
while ($this.
|
|
1411
|
-
var element = $this.
|
|
1410
|
+
while ($this.i15_1.n15()) {
|
|
1411
|
+
var element = $this.q15();
|
|
1412
1412
|
result.a(element);
|
|
1413
|
-
lastToken = $this.
|
|
1413
|
+
lastToken = $this.i15_1.r15();
|
|
1414
1414
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1415
1415
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1416
|
-
var tmp0_require = $this.
|
|
1416
|
+
var tmp0_require = $this.i15_1;
|
|
1417
1417
|
var tmp1_require = lastToken === get_TC_END_LIST();
|
|
1418
|
-
var tmp2_require = tmp0_require.
|
|
1418
|
+
var tmp2_require = tmp0_require.m12_1;
|
|
1419
1419
|
if (!tmp1_require) {
|
|
1420
1420
|
var tmp$ret$1;
|
|
1421
1421
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1422
1422
|
tmp$ret$1 = 'Expected end of the array or comma';
|
|
1423
|
-
tmp0_require.
|
|
1423
|
+
tmp0_require.u14(tmp$ret$1, tmp2_require);
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
1427
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1428
|
-
$this.
|
|
1428
|
+
$this.i15_1.l15(get_TC_END_LIST());
|
|
1429
1429
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1430
|
-
$this.
|
|
1430
|
+
$this.i15_1.u14('Unexpected trailing comma');
|
|
1431
1431
|
}
|
|
1432
1432
|
return new JsonArray(result);
|
|
1433
1433
|
}
|
|
1434
1434
|
function readValue($this, isString) {
|
|
1435
1435
|
var tmp;
|
|
1436
|
-
if ($this.
|
|
1437
|
-
tmp = $this.
|
|
1436
|
+
if ($this.j15_1 ? true : !isString) {
|
|
1437
|
+
tmp = $this.i15_1.p15();
|
|
1438
1438
|
} else {
|
|
1439
|
-
tmp = $this.
|
|
1439
|
+
tmp = $this.i15_1.o15();
|
|
1440
1440
|
}
|
|
1441
1441
|
var string = tmp;
|
|
1442
1442
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1447,18 +1447,18 @@
|
|
|
1447
1447
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance());
|
|
1448
1448
|
}
|
|
1449
1449
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1450
|
-
this.
|
|
1450
|
+
this.n16_1 = this$0;
|
|
1451
1451
|
CoroutineImpl.call(this, resultContinuation);
|
|
1452
1452
|
}
|
|
1453
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1454
|
-
var tmp = this.
|
|
1453
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).s16 = function ($this$$receiver, it, $completion) {
|
|
1454
|
+
var tmp = this.t16($this$$receiver, it, $completion);
|
|
1455
1455
|
tmp.xf_1 = Unit_getInstance();
|
|
1456
1456
|
tmp.yf_1 = null;
|
|
1457
1457
|
return tmp.dg();
|
|
1458
1458
|
};
|
|
1459
1459
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).m6 = function (p1, p2, $completion) {
|
|
1460
1460
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1461
|
-
return this.
|
|
1461
|
+
return this.s16(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1462
1462
|
};
|
|
1463
1463
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).dg = function () {
|
|
1464
1464
|
var suspendResult = this.xf_1;
|
|
@@ -1468,32 +1468,32 @@
|
|
|
1468
1468
|
switch (tmp) {
|
|
1469
1469
|
case 0:
|
|
1470
1470
|
this.wf_1 = 3;
|
|
1471
|
-
this.
|
|
1472
|
-
if (this.
|
|
1473
|
-
this.
|
|
1471
|
+
this.q16_1 = this.n16_1.i15_1.m15();
|
|
1472
|
+
if (this.q16_1 === get_TC_STRING()) {
|
|
1473
|
+
this.r16_1 = readValue(this.n16_1, true);
|
|
1474
1474
|
this.vf_1 = 2;
|
|
1475
1475
|
continue $sm;
|
|
1476
1476
|
} else {
|
|
1477
|
-
if (this.
|
|
1478
|
-
this.
|
|
1477
|
+
if (this.q16_1 === get_TC_OTHER()) {
|
|
1478
|
+
this.r16_1 = readValue(this.n16_1, false);
|
|
1479
1479
|
this.vf_1 = 2;
|
|
1480
1480
|
continue $sm;
|
|
1481
1481
|
} else {
|
|
1482
|
-
if (this.
|
|
1482
|
+
if (this.q16_1 === get_TC_BEGIN_OBJ()) {
|
|
1483
1483
|
this.vf_1 = 1;
|
|
1484
|
-
suspendResult = readObject_0(this.
|
|
1484
|
+
suspendResult = readObject_0(this.o16_1, this.n16_1, this);
|
|
1485
1485
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1486
1486
|
return suspendResult;
|
|
1487
1487
|
}
|
|
1488
1488
|
continue $sm;
|
|
1489
1489
|
} else {
|
|
1490
|
-
if (this.
|
|
1491
|
-
this.
|
|
1490
|
+
if (this.q16_1 === get_TC_BEGIN_LIST()) {
|
|
1491
|
+
this.r16_1 = readArray(this.n16_1);
|
|
1492
1492
|
this.vf_1 = 2;
|
|
1493
1493
|
continue $sm;
|
|
1494
1494
|
} else {
|
|
1495
1495
|
var tmp_0 = this;
|
|
1496
|
-
this.
|
|
1496
|
+
this.n16_1.i15_1.u14("Can't begin reading element, unexpected token");
|
|
1497
1497
|
}
|
|
1498
1498
|
}
|
|
1499
1499
|
}
|
|
@@ -1501,11 +1501,11 @@
|
|
|
1501
1501
|
|
|
1502
1502
|
break;
|
|
1503
1503
|
case 1:
|
|
1504
|
-
this.
|
|
1504
|
+
this.r16_1 = suspendResult;
|
|
1505
1505
|
this.vf_1 = 2;
|
|
1506
1506
|
continue $sm;
|
|
1507
1507
|
case 2:
|
|
1508
|
-
return this.
|
|
1508
|
+
return this.r16_1;
|
|
1509
1509
|
case 3:
|
|
1510
1510
|
throw this.yf_1;
|
|
1511
1511
|
}
|
|
@@ -1520,24 +1520,24 @@
|
|
|
1520
1520
|
}
|
|
1521
1521
|
while (true);
|
|
1522
1522
|
};
|
|
1523
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1524
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1525
|
-
i.
|
|
1526
|
-
i.
|
|
1523
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).t16 = function ($this$$receiver, it, completion) {
|
|
1524
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.n16_1, completion);
|
|
1525
|
+
i.o16_1 = $this$$receiver;
|
|
1526
|
+
i.p16_1 = it;
|
|
1527
1527
|
return i;
|
|
1528
1528
|
};
|
|
1529
1529
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1530
1530
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1531
1531
|
var l = function ($this$$receiver, it, $completion) {
|
|
1532
|
-
return i.
|
|
1532
|
+
return i.s16($this$$receiver, it, $completion);
|
|
1533
1533
|
};
|
|
1534
1534
|
l.$arity = 2;
|
|
1535
1535
|
return l;
|
|
1536
1536
|
}
|
|
1537
1537
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1538
1538
|
CoroutineImpl.call(this, resultContinuation);
|
|
1539
|
-
this.
|
|
1540
|
-
this.
|
|
1539
|
+
this.a16_1 = _this__u8e3s4;
|
|
1540
|
+
this.b16_1 = _this__u8e3s4_0;
|
|
1541
1541
|
}
|
|
1542
1542
|
protoOf($readObjectCOROUTINE$0).dg = function () {
|
|
1543
1543
|
var suspendResult = this.xf_1;
|
|
@@ -1547,26 +1547,26 @@
|
|
|
1547
1547
|
switch (tmp) {
|
|
1548
1548
|
case 0:
|
|
1549
1549
|
this.wf_1 = 5;
|
|
1550
|
-
this.
|
|
1551
|
-
if (this.
|
|
1552
|
-
this.
|
|
1550
|
+
this.c16_1 = this.a16_1.i15_1.l15(get_TC_BEGIN_OBJ());
|
|
1551
|
+
if (this.a16_1.i15_1.m15() === get_TC_COMMA()) {
|
|
1552
|
+
this.a16_1.i15_1.u14('Unexpected leading comma');
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
1555
|
var tmp_0 = this;
|
|
1556
|
-
tmp_0.
|
|
1556
|
+
tmp_0.d16_1 = LinkedHashMap_init_$Create$();
|
|
1557
1557
|
this.vf_1 = 1;
|
|
1558
1558
|
continue $sm;
|
|
1559
1559
|
case 1:
|
|
1560
|
-
if (!this.
|
|
1560
|
+
if (!this.a16_1.i15_1.n15()) {
|
|
1561
1561
|
this.vf_1 = 4;
|
|
1562
1562
|
continue $sm;
|
|
1563
1563
|
}
|
|
1564
1564
|
|
|
1565
|
-
this.
|
|
1566
|
-
this.
|
|
1565
|
+
this.e16_1 = this.a16_1.j15_1 ? this.a16_1.i15_1.p15() : this.a16_1.i15_1.o15();
|
|
1566
|
+
this.a16_1.i15_1.l15(get_TC_COLON());
|
|
1567
1567
|
;
|
|
1568
1568
|
this.vf_1 = 2;
|
|
1569
|
-
suspendResult = this.
|
|
1569
|
+
suspendResult = this.b16_1.e6(Unit_getInstance(), this);
|
|
1570
1570
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1571
1571
|
return suspendResult;
|
|
1572
1572
|
}
|
|
@@ -1574,10 +1574,10 @@
|
|
|
1574
1574
|
continue $sm;
|
|
1575
1575
|
case 2:
|
|
1576
1576
|
var element = suspendResult;
|
|
1577
|
-
this.
|
|
1577
|
+
this.d16_1.k3(this.e16_1, element);
|
|
1578
1578
|
;
|
|
1579
|
-
this.
|
|
1580
|
-
var tmp0_subject = this.
|
|
1579
|
+
this.c16_1 = this.a16_1.i15_1.r15();
|
|
1580
|
+
var tmp0_subject = this.c16_1;
|
|
1581
1581
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1582
1582
|
this.vf_1 = 3;
|
|
1583
1583
|
continue $sm;
|
|
@@ -1586,7 +1586,7 @@
|
|
|
1586
1586
|
this.vf_1 = 4;
|
|
1587
1587
|
continue $sm;
|
|
1588
1588
|
} else {
|
|
1589
|
-
this.
|
|
1589
|
+
this.a16_1.i15_1.u14('Expected end of the object or comma');
|
|
1590
1590
|
}
|
|
1591
1591
|
}
|
|
1592
1592
|
|
|
@@ -1595,13 +1595,13 @@
|
|
|
1595
1595
|
this.vf_1 = 1;
|
|
1596
1596
|
continue $sm;
|
|
1597
1597
|
case 4:
|
|
1598
|
-
if (this.
|
|
1599
|
-
this.
|
|
1600
|
-
} else if (this.
|
|
1601
|
-
this.
|
|
1598
|
+
if (this.c16_1 === get_TC_BEGIN_OBJ()) {
|
|
1599
|
+
this.a16_1.i15_1.l15(get_TC_END_OBJ());
|
|
1600
|
+
} else if (this.c16_1 === get_TC_COMMA()) {
|
|
1601
|
+
this.a16_1.i15_1.u14('Unexpected trailing comma');
|
|
1602
1602
|
}
|
|
1603
1603
|
|
|
1604
|
-
return new JsonObject(this.
|
|
1604
|
+
return new JsonObject(this.d16_1);
|
|
1605
1605
|
case 5:
|
|
1606
1606
|
throw this.yf_1;
|
|
1607
1607
|
}
|
|
@@ -1617,12 +1617,12 @@
|
|
|
1617
1617
|
while (true);
|
|
1618
1618
|
};
|
|
1619
1619
|
function JsonTreeReader(configuration, lexer) {
|
|
1620
|
-
this.
|
|
1621
|
-
this.
|
|
1622
|
-
this.
|
|
1620
|
+
this.i15_1 = lexer;
|
|
1621
|
+
this.j15_1 = configuration.h13_1;
|
|
1622
|
+
this.k15_1 = 0;
|
|
1623
1623
|
}
|
|
1624
|
-
protoOf(JsonTreeReader).
|
|
1625
|
-
var token = this.
|
|
1624
|
+
protoOf(JsonTreeReader).q15 = function () {
|
|
1625
|
+
var token = this.i15_1.m15();
|
|
1626
1626
|
var tmp;
|
|
1627
1627
|
if (token === get_TC_STRING()) {
|
|
1628
1628
|
tmp = readValue(this, true);
|
|
@@ -1631,56 +1631,56 @@
|
|
|
1631
1631
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1632
1632
|
var tmp_0;
|
|
1633
1633
|
var tmp0_this = this;
|
|
1634
|
-
tmp0_this.
|
|
1635
|
-
if (tmp0_this.
|
|
1634
|
+
tmp0_this.k15_1 = tmp0_this.k15_1 + 1 | 0;
|
|
1635
|
+
if (tmp0_this.k15_1 === 200) {
|
|
1636
1636
|
tmp_0 = readDeepRecursive(this);
|
|
1637
1637
|
} else {
|
|
1638
1638
|
tmp_0 = readObject(this);
|
|
1639
1639
|
}
|
|
1640
1640
|
var result = tmp_0;
|
|
1641
1641
|
var tmp1_this = this;
|
|
1642
|
-
tmp1_this.
|
|
1642
|
+
tmp1_this.k15_1 = tmp1_this.k15_1 - 1 | 0;
|
|
1643
1643
|
tmp = result;
|
|
1644
1644
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1645
1645
|
tmp = readArray(this);
|
|
1646
1646
|
} else {
|
|
1647
|
-
this.
|
|
1647
|
+
this.i15_1.u14('Cannot begin reading element, unexpected token: ' + token);
|
|
1648
1648
|
}
|
|
1649
1649
|
return tmp;
|
|
1650
1650
|
};
|
|
1651
1651
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
1652
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1652
|
+
var tmp0_iterator = _this__u8e3s4.en().c();
|
|
1653
1653
|
while (tmp0_iterator.d()) {
|
|
1654
1654
|
var annotation = tmp0_iterator.e();
|
|
1655
1655
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1656
|
-
return annotation.
|
|
1656
|
+
return annotation.u16_1;
|
|
1657
1657
|
}
|
|
1658
|
-
return json.
|
|
1658
|
+
return json.z11_1.o13_1;
|
|
1659
1659
|
}
|
|
1660
1660
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1661
1661
|
var tmp;
|
|
1662
1662
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1663
1663
|
tmp = true;
|
|
1664
1664
|
} else {
|
|
1665
|
-
tmp = _this__u8e3s4.
|
|
1665
|
+
tmp = _this__u8e3s4.s13().z11_1.n13_1;
|
|
1666
1666
|
}
|
|
1667
1667
|
if (tmp) {
|
|
1668
|
-
return deserializer.
|
|
1668
|
+
return deserializer.dm(_this__u8e3s4);
|
|
1669
1669
|
}
|
|
1670
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1670
|
+
var discriminator = classDiscriminator(deserializer.cm(), _this__u8e3s4.s13());
|
|
1671
1671
|
var tmp$ret$0;
|
|
1672
1672
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1673
|
-
var tmp0_cast = _this__u8e3s4.
|
|
1674
|
-
var tmp1_cast = deserializer.
|
|
1673
|
+
var tmp0_cast = _this__u8e3s4.t13();
|
|
1674
|
+
var tmp1_cast = deserializer.cm();
|
|
1675
1675
|
if (!(tmp0_cast instanceof JsonObject)) {
|
|
1676
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.
|
|
1676
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.dn() + ', but had ' + getKClassFromExpression(tmp0_cast));
|
|
1677
1677
|
}
|
|
1678
1678
|
tmp$ret$0 = tmp0_cast;
|
|
1679
1679
|
var jsonTree = tmp$ret$0;
|
|
1680
|
-
var tmp0_safe_receiver = jsonTree.
|
|
1680
|
+
var tmp0_safe_receiver = jsonTree.x13(discriminator);
|
|
1681
1681
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
1682
|
-
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1683
|
-
var tmp2_elvis_lhs = deserializer.
|
|
1682
|
+
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u13();
|
|
1683
|
+
var tmp2_elvis_lhs = deserializer.rm(_this__u8e3s4, type);
|
|
1684
1684
|
var tmp_0;
|
|
1685
1685
|
if (tmp2_elvis_lhs == null) {
|
|
1686
1686
|
throwSerializerNotFound(type, jsonTree);
|
|
@@ -1688,7 +1688,7 @@
|
|
|
1688
1688
|
tmp_0 = tmp2_elvis_lhs;
|
|
1689
1689
|
}
|
|
1690
1690
|
var actualSerializer = tmp_0;
|
|
1691
|
-
var tmp_1 = _this__u8e3s4.
|
|
1691
|
+
var tmp_1 = _this__u8e3s4.s13();
|
|
1692
1692
|
return readPolymorphicJson(tmp_1, discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE());
|
|
1693
1693
|
}
|
|
1694
1694
|
function throwSerializerNotFound(type, jsonTree) {
|
|
@@ -1696,7 +1696,7 @@
|
|
|
1696
1696
|
throw JsonDecodingException_0(-1, 'Polymorphic serializer was not found for ' + suffix, jsonTree.toString());
|
|
1697
1697
|
}
|
|
1698
1698
|
function checkKind($this, descriptor, actualClass) {
|
|
1699
|
-
var kind = descriptor.
|
|
1699
|
+
var kind = descriptor.hn();
|
|
1700
1700
|
var tmp;
|
|
1701
1701
|
if (kind instanceof PolymorphicKind) {
|
|
1702
1702
|
tmp = true;
|
|
@@ -1706,7 +1706,7 @@
|
|
|
1706
1706
|
if (tmp) {
|
|
1707
1707
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.fc() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1708
1708
|
}
|
|
1709
|
-
if ($this.
|
|
1709
|
+
if ($this.v16_1)
|
|
1710
1710
|
return Unit_getInstance();
|
|
1711
1711
|
var tmp_0;
|
|
1712
1712
|
var tmp_1;
|
|
@@ -1726,45 +1726,45 @@
|
|
|
1726
1726
|
}
|
|
1727
1727
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
1728
1728
|
var inductionVariable = 0;
|
|
1729
|
-
var last = descriptor.
|
|
1729
|
+
var last = descriptor.fn();
|
|
1730
1730
|
if (inductionVariable < last)
|
|
1731
1731
|
do {
|
|
1732
1732
|
var i = inductionVariable;
|
|
1733
1733
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1734
|
-
var name = descriptor.
|
|
1735
|
-
if (name === $this.
|
|
1734
|
+
var name = descriptor.ln(i);
|
|
1735
|
+
if (name === $this.w16_1) {
|
|
1736
1736
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + 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');
|
|
1737
1737
|
}
|
|
1738
1738
|
}
|
|
1739
1739
|
while (inductionVariable < last);
|
|
1740
1740
|
}
|
|
1741
1741
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
1742
|
-
this.
|
|
1743
|
-
this.
|
|
1742
|
+
this.v16_1 = useArrayPolymorphism;
|
|
1743
|
+
this.w16_1 = discriminator;
|
|
1744
1744
|
}
|
|
1745
|
-
protoOf(PolymorphismValidator).
|
|
1745
|
+
protoOf(PolymorphismValidator).q11 = function (kClass, provider) {
|
|
1746
1746
|
};
|
|
1747
|
-
protoOf(PolymorphismValidator).
|
|
1748
|
-
var descriptor = actualSerializer.
|
|
1747
|
+
protoOf(PolymorphismValidator).t11 = function (baseClass, actualClass, actualSerializer) {
|
|
1748
|
+
var descriptor = actualSerializer.cm();
|
|
1749
1749
|
checkKind(this, descriptor, actualClass);
|
|
1750
|
-
if (!this.
|
|
1750
|
+
if (!this.v16_1) {
|
|
1751
1751
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1752
1752
|
}
|
|
1753
1753
|
};
|
|
1754
|
-
protoOf(PolymorphismValidator).
|
|
1754
|
+
protoOf(PolymorphismValidator).u11 = function (baseClass, defaultSerializerProvider) {
|
|
1755
1755
|
};
|
|
1756
|
-
protoOf(PolymorphismValidator).
|
|
1756
|
+
protoOf(PolymorphismValidator).v11 = function (baseClass, defaultDeserializerProvider) {
|
|
1757
1757
|
};
|
|
1758
1758
|
function Key() {
|
|
1759
1759
|
}
|
|
1760
1760
|
function DescriptorSchemaCache() {
|
|
1761
|
-
this.
|
|
1761
|
+
this.v14_1 = createMapForCache(16);
|
|
1762
1762
|
}
|
|
1763
|
-
protoOf(DescriptorSchemaCache).
|
|
1763
|
+
protoOf(DescriptorSchemaCache).x16 = function (descriptor, key, value) {
|
|
1764
1764
|
// Inline function 'kotlin.collections.set' call
|
|
1765
1765
|
var tmp$ret$1;
|
|
1766
1766
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1767
|
-
var tmp0_getOrPut = this.
|
|
1767
|
+
var tmp0_getOrPut = this.v14_1;
|
|
1768
1768
|
var value_0 = tmp0_getOrPut.m2(descriptor);
|
|
1769
1769
|
var tmp;
|
|
1770
1770
|
if (value_0 == null) {
|
|
@@ -1783,8 +1783,8 @@
|
|
|
1783
1783
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
1784
1784
|
tmp1_set.k3(tmp2_set, tmp3_set);
|
|
1785
1785
|
};
|
|
1786
|
-
protoOf(DescriptorSchemaCache).
|
|
1787
|
-
var tmp0_safe_receiver = this.
|
|
1786
|
+
protoOf(DescriptorSchemaCache).w14 = function (descriptor, key, defaultValue) {
|
|
1787
|
+
var tmp0_safe_receiver = this.y16(descriptor, key);
|
|
1788
1788
|
if (tmp0_safe_receiver == null)
|
|
1789
1789
|
null;
|
|
1790
1790
|
else {
|
|
@@ -1794,11 +1794,11 @@
|
|
|
1794
1794
|
return tmp0_safe_receiver;
|
|
1795
1795
|
}
|
|
1796
1796
|
var value = defaultValue();
|
|
1797
|
-
this.
|
|
1797
|
+
this.x16(descriptor, key, value);
|
|
1798
1798
|
return value;
|
|
1799
1799
|
};
|
|
1800
|
-
protoOf(DescriptorSchemaCache).
|
|
1801
|
-
var tmp0_safe_receiver = this.
|
|
1800
|
+
protoOf(DescriptorSchemaCache).y16 = function (descriptor, key) {
|
|
1801
|
+
var tmp0_safe_receiver = this.v14_1.m2(descriptor);
|
|
1802
1802
|
var tmp;
|
|
1803
1803
|
if (tmp0_safe_receiver == null) {
|
|
1804
1804
|
tmp = null;
|
|
@@ -1809,20 +1809,20 @@
|
|
|
1809
1809
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
1810
1810
|
};
|
|
1811
1811
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1812
|
-
this.
|
|
1812
|
+
this.z16_1 = discriminatorToSkip;
|
|
1813
1813
|
}
|
|
1814
1814
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
1815
1815
|
if (_this__u8e3s4 == null)
|
|
1816
1816
|
return false;
|
|
1817
|
-
if (_this__u8e3s4.
|
|
1818
|
-
_this__u8e3s4.
|
|
1817
|
+
if (_this__u8e3s4.z16_1 === unknownKey) {
|
|
1818
|
+
_this__u8e3s4.z16_1 = null;
|
|
1819
1819
|
return true;
|
|
1820
1820
|
}
|
|
1821
1821
|
return false;
|
|
1822
1822
|
}
|
|
1823
1823
|
function skipLeftoverElements($this, descriptor) {
|
|
1824
1824
|
$l$loop: while (true) {
|
|
1825
|
-
var tmp = $this.
|
|
1825
|
+
var tmp = $this.rp(descriptor);
|
|
1826
1826
|
Companion_getInstance();
|
|
1827
1827
|
if (!!(tmp === -1)) {
|
|
1828
1828
|
break $l$loop;
|
|
@@ -1830,53 +1830,53 @@
|
|
|
1830
1830
|
}
|
|
1831
1831
|
}
|
|
1832
1832
|
function checkLeadingComma($this) {
|
|
1833
|
-
if ($this.
|
|
1834
|
-
$this.
|
|
1833
|
+
if ($this.g12_1.m15() === get_TC_COMMA()) {
|
|
1834
|
+
$this.g12_1.u14('Unexpected leading comma');
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
function decodeMapIndex($this) {
|
|
1838
1838
|
var hasComma = false;
|
|
1839
|
-
var decodingKey = !(($this.
|
|
1839
|
+
var decodingKey = !(($this.i12_1 % 2 | 0) === 0);
|
|
1840
1840
|
if (decodingKey) {
|
|
1841
|
-
if (!($this.
|
|
1842
|
-
hasComma = $this.
|
|
1841
|
+
if (!($this.i12_1 === -1)) {
|
|
1842
|
+
hasComma = $this.g12_1.b17();
|
|
1843
1843
|
}
|
|
1844
1844
|
} else {
|
|
1845
|
-
$this.
|
|
1845
|
+
$this.g12_1.a17(get_COLON());
|
|
1846
1846
|
}
|
|
1847
1847
|
var tmp;
|
|
1848
|
-
if ($this.
|
|
1848
|
+
if ($this.g12_1.n15()) {
|
|
1849
1849
|
if (decodingKey) {
|
|
1850
|
-
if ($this.
|
|
1850
|
+
if ($this.i12_1 === -1) {
|
|
1851
1851
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1852
|
-
var tmp0_require = $this.
|
|
1852
|
+
var tmp0_require = $this.g12_1;
|
|
1853
1853
|
var tmp1_require = !hasComma;
|
|
1854
|
-
var tmp2_require = tmp0_require.
|
|
1854
|
+
var tmp2_require = tmp0_require.m12_1;
|
|
1855
1855
|
if (!tmp1_require) {
|
|
1856
1856
|
var tmp$ret$0;
|
|
1857
1857
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1858
1858
|
tmp$ret$0 = 'Unexpected trailing comma';
|
|
1859
|
-
tmp0_require.
|
|
1859
|
+
tmp0_require.u14(tmp$ret$0, tmp2_require);
|
|
1860
1860
|
}
|
|
1861
1861
|
} else {
|
|
1862
1862
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1863
|
-
var tmp3_require = $this.
|
|
1863
|
+
var tmp3_require = $this.g12_1;
|
|
1864
1864
|
var tmp4_require = hasComma;
|
|
1865
|
-
var tmp5_require = tmp3_require.
|
|
1865
|
+
var tmp5_require = tmp3_require.m12_1;
|
|
1866
1866
|
if (!tmp4_require) {
|
|
1867
1867
|
var tmp$ret$1;
|
|
1868
1868
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1869
1869
|
tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
1870
|
-
tmp3_require.
|
|
1870
|
+
tmp3_require.u14(tmp$ret$1, tmp5_require);
|
|
1871
1871
|
}
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
var tmp0_this = $this;
|
|
1875
|
-
tmp0_this.
|
|
1876
|
-
tmp = tmp0_this.
|
|
1875
|
+
tmp0_this.i12_1 = tmp0_this.i12_1 + 1 | 0;
|
|
1876
|
+
tmp = tmp0_this.i12_1;
|
|
1877
1877
|
} else {
|
|
1878
1878
|
if (hasComma) {
|
|
1879
|
-
$this.
|
|
1879
|
+
$this.g12_1.u14("Expected '}', but had ',' instead");
|
|
1880
1880
|
}
|
|
1881
1881
|
Companion_getInstance();
|
|
1882
1882
|
tmp = -1;
|
|
@@ -1887,13 +1887,13 @@
|
|
|
1887
1887
|
var tmp$ret$1;
|
|
1888
1888
|
$l$block_2: {
|
|
1889
1889
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
1890
|
-
var tmp0_tryCoerceValue = $this.
|
|
1891
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
1890
|
+
var tmp0_tryCoerceValue = $this.e12_1;
|
|
1891
|
+
var tmp1_tryCoerceValue = descriptor.jn(index);
|
|
1892
1892
|
var tmp;
|
|
1893
|
-
if (!tmp1_tryCoerceValue.
|
|
1893
|
+
if (!tmp1_tryCoerceValue.zm()) {
|
|
1894
1894
|
var tmp$ret$0;
|
|
1895
1895
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1896
|
-
tmp$ret$0 = $this.
|
|
1896
|
+
tmp$ret$0 = $this.g12_1.c17(true);
|
|
1897
1897
|
tmp = tmp$ret$0;
|
|
1898
1898
|
} else {
|
|
1899
1899
|
tmp = false;
|
|
@@ -1902,12 +1902,12 @@
|
|
|
1902
1902
|
tmp$ret$1 = true;
|
|
1903
1903
|
break $l$block_2;
|
|
1904
1904
|
}
|
|
1905
|
-
if (equals(tmp1_tryCoerceValue.
|
|
1905
|
+
if (equals(tmp1_tryCoerceValue.hn(), ENUM_getInstance())) {
|
|
1906
1906
|
var tmp_0;
|
|
1907
|
-
if (tmp1_tryCoerceValue.
|
|
1907
|
+
if (tmp1_tryCoerceValue.zm()) {
|
|
1908
1908
|
var tmp$ret$2;
|
|
1909
1909
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1910
|
-
tmp$ret$2 = $this.
|
|
1910
|
+
tmp$ret$2 = $this.g12_1.c17(false);
|
|
1911
1911
|
tmp_0 = tmp$ret$2;
|
|
1912
1912
|
} else {
|
|
1913
1913
|
tmp_0 = false;
|
|
@@ -1918,7 +1918,7 @@
|
|
|
1918
1918
|
}
|
|
1919
1919
|
var tmp$ret$3;
|
|
1920
1920
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1921
|
-
tmp$ret$3 = $this.
|
|
1921
|
+
tmp$ret$3 = $this.g12_1.d17($this.k12_1.h13_1);
|
|
1922
1922
|
var tmp0_elvis_lhs = tmp$ret$3;
|
|
1923
1923
|
var tmp_1;
|
|
1924
1924
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1932,7 +1932,7 @@
|
|
|
1932
1932
|
Companion_getInstance();
|
|
1933
1933
|
if (enumIndex === -3) {
|
|
1934
1934
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1935
|
-
$this.
|
|
1935
|
+
$this.g12_1.o15();
|
|
1936
1936
|
tmp$ret$1 = true;
|
|
1937
1937
|
break $l$block_2;
|
|
1938
1938
|
}
|
|
@@ -1942,25 +1942,25 @@
|
|
|
1942
1942
|
return tmp$ret$1;
|
|
1943
1943
|
}
|
|
1944
1944
|
function decodeObjectIndex($this, descriptor) {
|
|
1945
|
-
var hasComma = $this.
|
|
1946
|
-
while ($this.
|
|
1945
|
+
var hasComma = $this.g12_1.b17();
|
|
1946
|
+
while ($this.g12_1.n15()) {
|
|
1947
1947
|
hasComma = false;
|
|
1948
1948
|
var key = decodeStringKey($this);
|
|
1949
|
-
$this.
|
|
1950
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
1949
|
+
$this.g12_1.a17(get_COLON());
|
|
1950
|
+
var index = getJsonNameIndex(descriptor, $this.e12_1, key);
|
|
1951
1951
|
var tmp;
|
|
1952
1952
|
Companion_getInstance();
|
|
1953
1953
|
if (!(index === -3)) {
|
|
1954
1954
|
var tmp_0;
|
|
1955
|
-
if ($this.
|
|
1956
|
-
hasComma = $this.
|
|
1955
|
+
if ($this.k12_1.m13_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
1956
|
+
hasComma = $this.g12_1.b17();
|
|
1957
1957
|
tmp_0 = false;
|
|
1958
1958
|
} else {
|
|
1959
|
-
var tmp0_safe_receiver = $this.
|
|
1959
|
+
var tmp0_safe_receiver = $this.l12_1;
|
|
1960
1960
|
if (tmp0_safe_receiver == null)
|
|
1961
1961
|
null;
|
|
1962
1962
|
else {
|
|
1963
|
-
tmp0_safe_receiver.
|
|
1963
|
+
tmp0_safe_receiver.dt(index);
|
|
1964
1964
|
}
|
|
1965
1965
|
return index;
|
|
1966
1966
|
}
|
|
@@ -1974,10 +1974,10 @@
|
|
|
1974
1974
|
}
|
|
1975
1975
|
}
|
|
1976
1976
|
if (hasComma) {
|
|
1977
|
-
$this.
|
|
1977
|
+
$this.g12_1.u14('Unexpected trailing comma');
|
|
1978
1978
|
}
|
|
1979
|
-
var tmp1_safe_receiver = $this.
|
|
1980
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1979
|
+
var tmp1_safe_receiver = $this.l12_1;
|
|
1980
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.et();
|
|
1981
1981
|
var tmp_1;
|
|
1982
1982
|
if (tmp2_elvis_lhs == null) {
|
|
1983
1983
|
Companion_getInstance();
|
|
@@ -1988,26 +1988,26 @@
|
|
|
1988
1988
|
return tmp_1;
|
|
1989
1989
|
}
|
|
1990
1990
|
function handleUnknown($this, key) {
|
|
1991
|
-
if ($this.
|
|
1992
|
-
$this.
|
|
1991
|
+
if ($this.k12_1.g13_1 ? true : trySkip($this.j12_1, $this, key)) {
|
|
1992
|
+
$this.g12_1.f17($this.k12_1.h13_1);
|
|
1993
1993
|
} else {
|
|
1994
|
-
$this.
|
|
1994
|
+
$this.g12_1.e17(key);
|
|
1995
1995
|
}
|
|
1996
|
-
return $this.
|
|
1996
|
+
return $this.g12_1.b17();
|
|
1997
1997
|
}
|
|
1998
1998
|
function decodeListIndex($this) {
|
|
1999
|
-
var hasComma = $this.
|
|
1999
|
+
var hasComma = $this.g12_1.b17();
|
|
2000
2000
|
var tmp;
|
|
2001
|
-
if ($this.
|
|
2002
|
-
if (!($this.
|
|
2003
|
-
$this.
|
|
2001
|
+
if ($this.g12_1.n15()) {
|
|
2002
|
+
if (!($this.i12_1 === -1) ? !hasComma : false) {
|
|
2003
|
+
$this.g12_1.u14('Expected end of the array or comma');
|
|
2004
2004
|
}
|
|
2005
2005
|
var tmp0_this = $this;
|
|
2006
|
-
tmp0_this.
|
|
2007
|
-
tmp = tmp0_this.
|
|
2006
|
+
tmp0_this.i12_1 = tmp0_this.i12_1 + 1 | 0;
|
|
2007
|
+
tmp = tmp0_this.i12_1;
|
|
2008
2008
|
} else {
|
|
2009
2009
|
if (hasComma) {
|
|
2010
|
-
$this.
|
|
2010
|
+
$this.g12_1.u14('Unexpected trailing comma');
|
|
2011
2011
|
}
|
|
2012
2012
|
Companion_getInstance();
|
|
2013
2013
|
tmp = -1;
|
|
@@ -2016,55 +2016,55 @@
|
|
|
2016
2016
|
}
|
|
2017
2017
|
function decodeStringKey($this) {
|
|
2018
2018
|
var tmp;
|
|
2019
|
-
if ($this.
|
|
2020
|
-
tmp = $this.
|
|
2019
|
+
if ($this.k12_1.h13_1) {
|
|
2020
|
+
tmp = $this.g12_1.h17();
|
|
2021
2021
|
} else {
|
|
2022
|
-
tmp = $this.
|
|
2022
|
+
tmp = $this.g12_1.g17();
|
|
2023
2023
|
}
|
|
2024
2024
|
return tmp;
|
|
2025
2025
|
}
|
|
2026
2026
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2027
2027
|
AbstractDecoder.call(this);
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
2031
|
-
this.
|
|
2032
|
-
this.
|
|
2033
|
-
this.
|
|
2034
|
-
this.
|
|
2035
|
-
this.
|
|
2036
|
-
}
|
|
2037
|
-
protoOf(StreamingJsonDecoder).
|
|
2038
|
-
return this.b12_1;
|
|
2039
|
-
};
|
|
2040
|
-
protoOf(StreamingJsonDecoder).mp = function () {
|
|
2028
|
+
this.e12_1 = json;
|
|
2029
|
+
this.f12_1 = mode;
|
|
2030
|
+
this.g12_1 = lexer;
|
|
2031
|
+
this.h12_1 = this.e12_1.pp();
|
|
2032
|
+
this.i12_1 = -1;
|
|
2033
|
+
this.j12_1 = discriminatorHolder;
|
|
2034
|
+
this.k12_1 = this.e12_1.z11_1;
|
|
2035
|
+
this.l12_1 = this.k12_1.k13_1 ? null : new JsonElementMarker(descriptor);
|
|
2036
|
+
}
|
|
2037
|
+
protoOf(StreamingJsonDecoder).s13 = function () {
|
|
2041
2038
|
return this.e12_1;
|
|
2042
2039
|
};
|
|
2043
|
-
protoOf(StreamingJsonDecoder).
|
|
2044
|
-
return
|
|
2040
|
+
protoOf(StreamingJsonDecoder).pp = function () {
|
|
2041
|
+
return this.h12_1;
|
|
2042
|
+
};
|
|
2043
|
+
protoOf(StreamingJsonDecoder).t13 = function () {
|
|
2044
|
+
return (new JsonTreeReader(this.e12_1.z11_1, this.g12_1)).q15();
|
|
2045
2045
|
};
|
|
2046
|
-
protoOf(StreamingJsonDecoder).
|
|
2046
|
+
protoOf(StreamingJsonDecoder).zo = function (deserializer) {
|
|
2047
2047
|
try {
|
|
2048
2048
|
var tmp;
|
|
2049
2049
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2050
2050
|
tmp = true;
|
|
2051
2051
|
} else {
|
|
2052
|
-
tmp = this.
|
|
2052
|
+
tmp = this.e12_1.z11_1.n13_1;
|
|
2053
2053
|
}
|
|
2054
2054
|
if (tmp) {
|
|
2055
|
-
return deserializer.
|
|
2055
|
+
return deserializer.dm(this);
|
|
2056
2056
|
}
|
|
2057
|
-
var discriminator = classDiscriminator(deserializer.
|
|
2058
|
-
var type = this.
|
|
2057
|
+
var discriminator = classDiscriminator(deserializer.cm(), this.e12_1);
|
|
2058
|
+
var type = this.g12_1.i17(discriminator, this.k12_1.h13_1);
|
|
2059
2059
|
var actualSerializer = null;
|
|
2060
2060
|
if (!(type == null)) {
|
|
2061
|
-
actualSerializer = deserializer.
|
|
2061
|
+
actualSerializer = deserializer.rm(this, type);
|
|
2062
2062
|
}
|
|
2063
2063
|
if (actualSerializer == null) {
|
|
2064
2064
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
2065
2065
|
}
|
|
2066
|
-
this.
|
|
2067
|
-
var tmp_0 = actualSerializer.
|
|
2066
|
+
this.j12_1 = new DiscriminatorHolder(discriminator);
|
|
2067
|
+
var tmp_0 = actualSerializer.dm(this);
|
|
2068
2068
|
var result = isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
2069
2069
|
return result;
|
|
2070
2070
|
} catch ($p) {
|
|
@@ -2072,16 +2072,16 @@
|
|
|
2072
2072
|
var e = $p;
|
|
2073
2073
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2074
2074
|
throw e;
|
|
2075
|
-
throw new MissingFieldException(e.
|
|
2075
|
+
throw new MissingFieldException(e.sm_1, plus(e.message, ' at path: ') + this.g12_1.n12_1.h15(), e);
|
|
2076
2076
|
} else {
|
|
2077
2077
|
throw $p;
|
|
2078
2078
|
}
|
|
2079
2079
|
}
|
|
2080
2080
|
};
|
|
2081
|
-
protoOf(StreamingJsonDecoder).
|
|
2082
|
-
var newMode = switchMode(this.
|
|
2083
|
-
this.
|
|
2084
|
-
this.
|
|
2081
|
+
protoOf(StreamingJsonDecoder).ap = function (descriptor) {
|
|
2082
|
+
var newMode = switchMode(this.e12_1, descriptor);
|
|
2083
|
+
this.g12_1.n12_1.c15(descriptor);
|
|
2084
|
+
this.g12_1.a17(newMode.l17_1);
|
|
2085
2085
|
checkLeadingComma(this);
|
|
2086
2086
|
var tmp0_subject = newMode;
|
|
2087
2087
|
var tmp0 = tmp0_subject.q4_1;
|
|
@@ -2090,14 +2090,14 @@
|
|
|
2090
2090
|
case 1:
|
|
2091
2091
|
case 2:
|
|
2092
2092
|
case 3:
|
|
2093
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2093
|
+
tmp = new StreamingJsonDecoder(this.e12_1, newMode, this.g12_1, descriptor, this.j12_1);
|
|
2094
2094
|
break;
|
|
2095
2095
|
default:
|
|
2096
2096
|
var tmp_0;
|
|
2097
|
-
if (this.
|
|
2097
|
+
if (this.f12_1.equals(newMode) ? this.e12_1.z11_1.k13_1 : false) {
|
|
2098
2098
|
tmp_0 = this;
|
|
2099
2099
|
} else {
|
|
2100
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2100
|
+
tmp_0 = new StreamingJsonDecoder(this.e12_1, newMode, this.g12_1, descriptor, this.j12_1);
|
|
2101
2101
|
}
|
|
2102
2102
|
|
|
2103
2103
|
tmp = tmp_0;
|
|
@@ -2105,40 +2105,40 @@
|
|
|
2105
2105
|
}
|
|
2106
2106
|
return tmp;
|
|
2107
2107
|
};
|
|
2108
|
-
protoOf(StreamingJsonDecoder).
|
|
2109
|
-
if (this.
|
|
2108
|
+
protoOf(StreamingJsonDecoder).bp = function (descriptor) {
|
|
2109
|
+
if (this.e12_1.z11_1.g13_1 ? descriptor.fn() === 0 : false) {
|
|
2110
2110
|
skipLeftoverElements(this, descriptor);
|
|
2111
2111
|
}
|
|
2112
|
-
this.
|
|
2113
|
-
this.
|
|
2112
|
+
this.g12_1.a17(this.f12_1.m17_1);
|
|
2113
|
+
this.g12_1.n12_1.g15();
|
|
2114
2114
|
};
|
|
2115
|
-
protoOf(StreamingJsonDecoder).
|
|
2115
|
+
protoOf(StreamingJsonDecoder).lo = function () {
|
|
2116
2116
|
var tmp;
|
|
2117
|
-
var tmp0_safe_receiver = this.
|
|
2118
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2117
|
+
var tmp0_safe_receiver = this.l12_1;
|
|
2118
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t14_1;
|
|
2119
2119
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2120
|
-
tmp = !this.
|
|
2120
|
+
tmp = !this.g12_1.n17();
|
|
2121
2121
|
} else {
|
|
2122
2122
|
tmp = false;
|
|
2123
2123
|
}
|
|
2124
2124
|
return tmp;
|
|
2125
2125
|
};
|
|
2126
|
-
protoOf(StreamingJsonDecoder).
|
|
2126
|
+
protoOf(StreamingJsonDecoder).mo = function () {
|
|
2127
2127
|
return null;
|
|
2128
2128
|
};
|
|
2129
|
-
protoOf(StreamingJsonDecoder).
|
|
2130
|
-
var isMapKey = this.
|
|
2129
|
+
protoOf(StreamingJsonDecoder).mp = function (descriptor, index, deserializer, previousValue) {
|
|
2130
|
+
var isMapKey = this.f12_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2131
2131
|
if (isMapKey) {
|
|
2132
|
-
this.
|
|
2132
|
+
this.g12_1.n12_1.f15();
|
|
2133
2133
|
}
|
|
2134
|
-
var value = protoOf(AbstractDecoder).
|
|
2134
|
+
var value = protoOf(AbstractDecoder).mp.call(this, descriptor, index, deserializer, previousValue);
|
|
2135
2135
|
if (isMapKey) {
|
|
2136
|
-
this.
|
|
2136
|
+
this.g12_1.n12_1.e15(value);
|
|
2137
2137
|
}
|
|
2138
2138
|
return value;
|
|
2139
2139
|
};
|
|
2140
|
-
protoOf(StreamingJsonDecoder).
|
|
2141
|
-
var tmp0_subject = this.
|
|
2140
|
+
protoOf(StreamingJsonDecoder).rp = function (descriptor) {
|
|
2141
|
+
var tmp0_subject = this.f12_1;
|
|
2142
2142
|
var tmp0 = tmp0_subject.q4_1;
|
|
2143
2143
|
{
|
|
2144
2144
|
var index;
|
|
@@ -2154,50 +2154,50 @@
|
|
|
2154
2154
|
break;
|
|
2155
2155
|
}
|
|
2156
2156
|
}
|
|
2157
|
-
if (!this.
|
|
2158
|
-
this.
|
|
2157
|
+
if (!this.f12_1.equals(WriteMode_MAP_getInstance())) {
|
|
2158
|
+
this.g12_1.n12_1.d15(index);
|
|
2159
2159
|
}
|
|
2160
2160
|
return index;
|
|
2161
2161
|
};
|
|
2162
|
-
protoOf(StreamingJsonDecoder).
|
|
2162
|
+
protoOf(StreamingJsonDecoder).no = function () {
|
|
2163
2163
|
var tmp;
|
|
2164
|
-
if (this.
|
|
2165
|
-
tmp = this.
|
|
2164
|
+
if (this.k12_1.h13_1) {
|
|
2165
|
+
tmp = this.g12_1.p17();
|
|
2166
2166
|
} else {
|
|
2167
|
-
tmp = this.
|
|
2167
|
+
tmp = this.g12_1.o17();
|
|
2168
2168
|
}
|
|
2169
2169
|
return tmp;
|
|
2170
2170
|
};
|
|
2171
|
-
protoOf(StreamingJsonDecoder).
|
|
2172
|
-
var value = this.
|
|
2171
|
+
protoOf(StreamingJsonDecoder).oo = function () {
|
|
2172
|
+
var value = this.g12_1.q17();
|
|
2173
2173
|
if (!value.equals(toLong_0(value.mf()))) {
|
|
2174
|
-
this.
|
|
2174
|
+
this.g12_1.u14("Failed to parse byte for input '" + toString(value) + "'");
|
|
2175
2175
|
}
|
|
2176
2176
|
return value.mf();
|
|
2177
2177
|
};
|
|
2178
|
-
protoOf(StreamingJsonDecoder).
|
|
2179
|
-
var value = this.
|
|
2178
|
+
protoOf(StreamingJsonDecoder).po = function () {
|
|
2179
|
+
var value = this.g12_1.q17();
|
|
2180
2180
|
if (!value.equals(toLong_0(value.nf()))) {
|
|
2181
|
-
this.
|
|
2181
|
+
this.g12_1.u14("Failed to parse short for input '" + toString(value) + "'");
|
|
2182
2182
|
}
|
|
2183
2183
|
return value.nf();
|
|
2184
2184
|
};
|
|
2185
|
-
protoOf(StreamingJsonDecoder).
|
|
2186
|
-
var value = this.
|
|
2185
|
+
protoOf(StreamingJsonDecoder).qo = function () {
|
|
2186
|
+
var value = this.g12_1.q17();
|
|
2187
2187
|
if (!value.equals(toLong_0(value.p5()))) {
|
|
2188
|
-
this.
|
|
2188
|
+
this.g12_1.u14("Failed to parse int for input '" + toString(value) + "'");
|
|
2189
2189
|
}
|
|
2190
2190
|
return value.p5();
|
|
2191
2191
|
};
|
|
2192
|
-
protoOf(StreamingJsonDecoder).
|
|
2193
|
-
return this.
|
|
2192
|
+
protoOf(StreamingJsonDecoder).ro = function () {
|
|
2193
|
+
return this.g12_1.q17();
|
|
2194
2194
|
};
|
|
2195
|
-
protoOf(StreamingJsonDecoder).
|
|
2195
|
+
protoOf(StreamingJsonDecoder).so = function () {
|
|
2196
2196
|
var tmp$ret$4;
|
|
2197
2197
|
$l$block: {
|
|
2198
2198
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2199
|
-
var tmp0_parseString = this.
|
|
2200
|
-
var input = tmp0_parseString.
|
|
2199
|
+
var tmp0_parseString = this.g12_1;
|
|
2200
|
+
var input = tmp0_parseString.p15();
|
|
2201
2201
|
try {
|
|
2202
2202
|
var tmp$ret$3;
|
|
2203
2203
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
@@ -2217,24 +2217,24 @@
|
|
|
2217
2217
|
} catch ($p) {
|
|
2218
2218
|
if ($p instanceof IllegalArgumentException) {
|
|
2219
2219
|
var e = $p;
|
|
2220
|
-
tmp0_parseString.
|
|
2220
|
+
tmp0_parseString.u14("Failed to parse type 'float' for input '" + input + "'");
|
|
2221
2221
|
} else {
|
|
2222
2222
|
throw $p;
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
2225
2225
|
}
|
|
2226
2226
|
var result = tmp$ret$4;
|
|
2227
|
-
var specialFp = this.
|
|
2227
|
+
var specialFp = this.e12_1.z11_1.p13_1;
|
|
2228
2228
|
if (specialFp ? true : isFinite(result))
|
|
2229
2229
|
return result;
|
|
2230
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2230
|
+
throwInvalidFloatingPointDecoded(this.g12_1, result);
|
|
2231
2231
|
};
|
|
2232
|
-
protoOf(StreamingJsonDecoder).
|
|
2232
|
+
protoOf(StreamingJsonDecoder).to = function () {
|
|
2233
2233
|
var tmp$ret$1;
|
|
2234
2234
|
$l$block: {
|
|
2235
2235
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2236
|
-
var tmp0_parseString = this.
|
|
2237
|
-
var input = tmp0_parseString.
|
|
2236
|
+
var tmp0_parseString = this.g12_1;
|
|
2237
|
+
var input = tmp0_parseString.p15();
|
|
2238
2238
|
try {
|
|
2239
2239
|
var tmp$ret$0;
|
|
2240
2240
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
@@ -2244,57 +2244,57 @@
|
|
|
2244
2244
|
} catch ($p) {
|
|
2245
2245
|
if ($p instanceof IllegalArgumentException) {
|
|
2246
2246
|
var e = $p;
|
|
2247
|
-
tmp0_parseString.
|
|
2247
|
+
tmp0_parseString.u14("Failed to parse type 'double' for input '" + input + "'");
|
|
2248
2248
|
} else {
|
|
2249
2249
|
throw $p;
|
|
2250
2250
|
}
|
|
2251
2251
|
}
|
|
2252
2252
|
}
|
|
2253
2253
|
var result = tmp$ret$1;
|
|
2254
|
-
var specialFp = this.
|
|
2254
|
+
var specialFp = this.e12_1.z11_1.p13_1;
|
|
2255
2255
|
if (specialFp ? true : isFinite_0(result))
|
|
2256
2256
|
return result;
|
|
2257
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2257
|
+
throwInvalidFloatingPointDecoded(this.g12_1, result);
|
|
2258
2258
|
};
|
|
2259
|
-
protoOf(StreamingJsonDecoder).
|
|
2260
|
-
var string = this.
|
|
2259
|
+
protoOf(StreamingJsonDecoder).uo = function () {
|
|
2260
|
+
var string = this.g12_1.p15();
|
|
2261
2261
|
if (!(string.length === 1)) {
|
|
2262
|
-
this.
|
|
2262
|
+
this.g12_1.u14("Expected single char, but got '" + string + "'");
|
|
2263
2263
|
}
|
|
2264
2264
|
return charSequenceGet(string, 0);
|
|
2265
2265
|
};
|
|
2266
|
-
protoOf(StreamingJsonDecoder).
|
|
2266
|
+
protoOf(StreamingJsonDecoder).vo = function () {
|
|
2267
2267
|
var tmp;
|
|
2268
|
-
if (this.
|
|
2269
|
-
tmp = this.
|
|
2268
|
+
if (this.k12_1.h13_1) {
|
|
2269
|
+
tmp = this.g12_1.h17();
|
|
2270
2270
|
} else {
|
|
2271
|
-
tmp = this.
|
|
2271
|
+
tmp = this.g12_1.o15();
|
|
2272
2272
|
}
|
|
2273
2273
|
return tmp;
|
|
2274
2274
|
};
|
|
2275
|
-
protoOf(StreamingJsonDecoder).
|
|
2276
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2275
|
+
protoOf(StreamingJsonDecoder).xo = function (descriptor) {
|
|
2276
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.g12_1, this.e12_1) : protoOf(AbstractDecoder).xo.call(this, descriptor);
|
|
2277
2277
|
};
|
|
2278
|
-
protoOf(StreamingJsonDecoder).
|
|
2279
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2278
|
+
protoOf(StreamingJsonDecoder).wo = function (enumDescriptor) {
|
|
2279
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.e12_1, this.vo(), ' at path ' + this.g12_1.n12_1.h15());
|
|
2280
2280
|
};
|
|
2281
2281
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2282
2282
|
AbstractDecoder.call(this);
|
|
2283
|
-
this.
|
|
2284
|
-
this.
|
|
2283
|
+
this.r17_1 = lexer;
|
|
2284
|
+
this.s17_1 = json.pp();
|
|
2285
2285
|
}
|
|
2286
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2287
|
-
return this.
|
|
2286
|
+
protoOf(JsonDecoderForUnsignedTypes).pp = function () {
|
|
2287
|
+
return this.s17_1;
|
|
2288
2288
|
};
|
|
2289
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2289
|
+
protoOf(JsonDecoderForUnsignedTypes).rp = function (descriptor) {
|
|
2290
2290
|
throw IllegalStateException_init_$Create$('unsupported');
|
|
2291
2291
|
};
|
|
2292
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2292
|
+
protoOf(JsonDecoderForUnsignedTypes).qo = function () {
|
|
2293
2293
|
var tmp$ret$2;
|
|
2294
2294
|
$l$block: {
|
|
2295
2295
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2296
|
-
var tmp0_parseString = this.
|
|
2297
|
-
var input = tmp0_parseString.
|
|
2296
|
+
var tmp0_parseString = this.r17_1;
|
|
2297
|
+
var input = tmp0_parseString.p15();
|
|
2298
2298
|
try {
|
|
2299
2299
|
var tmp$ret$1;
|
|
2300
2300
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
@@ -2308,7 +2308,7 @@
|
|
|
2308
2308
|
} catch ($p) {
|
|
2309
2309
|
if ($p instanceof IllegalArgumentException) {
|
|
2310
2310
|
var e = $p;
|
|
2311
|
-
tmp0_parseString.
|
|
2311
|
+
tmp0_parseString.u14("Failed to parse type 'UInt' for input '" + input + "'");
|
|
2312
2312
|
} else {
|
|
2313
2313
|
throw $p;
|
|
2314
2314
|
}
|
|
@@ -2316,12 +2316,12 @@
|
|
|
2316
2316
|
}
|
|
2317
2317
|
return tmp$ret$2;
|
|
2318
2318
|
};
|
|
2319
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2319
|
+
protoOf(JsonDecoderForUnsignedTypes).ro = function () {
|
|
2320
2320
|
var tmp$ret$2;
|
|
2321
2321
|
$l$block: {
|
|
2322
2322
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2323
|
-
var tmp0_parseString = this.
|
|
2324
|
-
var input = tmp0_parseString.
|
|
2323
|
+
var tmp0_parseString = this.r17_1;
|
|
2324
|
+
var input = tmp0_parseString.p15();
|
|
2325
2325
|
try {
|
|
2326
2326
|
var tmp$ret$1;
|
|
2327
2327
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
@@ -2335,7 +2335,7 @@
|
|
|
2335
2335
|
} catch ($p) {
|
|
2336
2336
|
if ($p instanceof IllegalArgumentException) {
|
|
2337
2337
|
var e = $p;
|
|
2338
|
-
tmp0_parseString.
|
|
2338
|
+
tmp0_parseString.u14("Failed to parse type 'ULong' for input '" + input + "'");
|
|
2339
2339
|
} else {
|
|
2340
2340
|
throw $p;
|
|
2341
2341
|
}
|
|
@@ -2343,12 +2343,12 @@
|
|
|
2343
2343
|
}
|
|
2344
2344
|
return tmp$ret$2;
|
|
2345
2345
|
};
|
|
2346
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2346
|
+
protoOf(JsonDecoderForUnsignedTypes).oo = function () {
|
|
2347
2347
|
var tmp$ret$2;
|
|
2348
2348
|
$l$block: {
|
|
2349
2349
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2350
|
-
var tmp0_parseString = this.
|
|
2351
|
-
var input = tmp0_parseString.
|
|
2350
|
+
var tmp0_parseString = this.r17_1;
|
|
2351
|
+
var input = tmp0_parseString.p15();
|
|
2352
2352
|
try {
|
|
2353
2353
|
var tmp$ret$1;
|
|
2354
2354
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
@@ -2362,7 +2362,7 @@
|
|
|
2362
2362
|
} catch ($p) {
|
|
2363
2363
|
if ($p instanceof IllegalArgumentException) {
|
|
2364
2364
|
var e = $p;
|
|
2365
|
-
tmp0_parseString.
|
|
2365
|
+
tmp0_parseString.u14("Failed to parse type 'UByte' for input '" + input + "'");
|
|
2366
2366
|
} else {
|
|
2367
2367
|
throw $p;
|
|
2368
2368
|
}
|
|
@@ -2370,12 +2370,12 @@
|
|
|
2370
2370
|
}
|
|
2371
2371
|
return tmp$ret$2;
|
|
2372
2372
|
};
|
|
2373
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2373
|
+
protoOf(JsonDecoderForUnsignedTypes).po = function () {
|
|
2374
2374
|
var tmp$ret$2;
|
|
2375
2375
|
$l$block: {
|
|
2376
2376
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2377
|
-
var tmp0_parseString = this.
|
|
2378
|
-
var input = tmp0_parseString.
|
|
2377
|
+
var tmp0_parseString = this.r17_1;
|
|
2378
|
+
var input = tmp0_parseString.p15();
|
|
2379
2379
|
try {
|
|
2380
2380
|
var tmp$ret$1;
|
|
2381
2381
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
@@ -2389,7 +2389,7 @@
|
|
|
2389
2389
|
} catch ($p) {
|
|
2390
2390
|
if ($p instanceof IllegalArgumentException) {
|
|
2391
2391
|
var e = $p;
|
|
2392
|
-
tmp0_parseString.
|
|
2392
|
+
tmp0_parseString.u14("Failed to parse type 'UShort' for input '" + input + "'");
|
|
2393
2393
|
} else {
|
|
2394
2394
|
throw $p;
|
|
2395
2395
|
}
|
|
@@ -2404,14 +2404,14 @@
|
|
|
2404
2404
|
var unsignedNumberDescriptors;
|
|
2405
2405
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
2406
2406
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
2407
|
-
return _this__u8e3s4.
|
|
2407
|
+
return _this__u8e3s4.gn() ? get_unsignedNumberDescriptors().i1(_this__u8e3s4) : false;
|
|
2408
2408
|
}
|
|
2409
2409
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
2410
2410
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
2411
2411
|
if (properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
2412
2412
|
} else {
|
|
2413
2413
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
2414
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).
|
|
2414
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).cm(), serializer_1(Companion_getInstance_1()).cm(), serializer_2(Companion_getInstance_2()).cm(), serializer_3(Companion_getInstance_3()).cm()]);
|
|
2415
2415
|
}
|
|
2416
2416
|
}
|
|
2417
2417
|
function get_ESCAPE_STRINGS() {
|
|
@@ -2615,10 +2615,10 @@
|
|
|
2615
2615
|
}
|
|
2616
2616
|
}
|
|
2617
2617
|
var input = tmp;
|
|
2618
|
-
return input.
|
|
2618
|
+
return input.zo(deserializer);
|
|
2619
2619
|
}
|
|
2620
2620
|
function currentObject($this) {
|
|
2621
|
-
var tmp0_safe_receiver = $this.
|
|
2621
|
+
var tmp0_safe_receiver = $this.uz();
|
|
2622
2622
|
var tmp;
|
|
2623
2623
|
if (tmp0_safe_receiver == null) {
|
|
2624
2624
|
tmp = null;
|
|
@@ -2628,7 +2628,7 @@
|
|
|
2628
2628
|
// Inline function 'kotlin.contracts.contract' call
|
|
2629
2629
|
var tmp$ret$0;
|
|
2630
2630
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
2631
|
-
tmp$ret$0 = $this.
|
|
2631
|
+
tmp$ret$0 = $this.y17(tmp0_safe_receiver);
|
|
2632
2632
|
tmp$ret$1 = tmp$ret$0;
|
|
2633
2633
|
tmp = tmp$ret$1;
|
|
2634
2634
|
}
|
|
@@ -2650,31 +2650,31 @@
|
|
|
2650
2650
|
}
|
|
2651
2651
|
function AbstractJsonTreeDecoder(json, value) {
|
|
2652
2652
|
NamedValueDecoder.call(this);
|
|
2653
|
-
this.
|
|
2654
|
-
this.
|
|
2655
|
-
this.
|
|
2653
|
+
this.v17_1 = json;
|
|
2654
|
+
this.w17_1 = value;
|
|
2655
|
+
this.x17_1 = this.s13().z11_1;
|
|
2656
2656
|
}
|
|
2657
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2658
|
-
return this.
|
|
2657
|
+
protoOf(AbstractJsonTreeDecoder).s13 = function () {
|
|
2658
|
+
return this.v17_1;
|
|
2659
2659
|
};
|
|
2660
2660
|
protoOf(AbstractJsonTreeDecoder).w = function () {
|
|
2661
|
-
return this.
|
|
2661
|
+
return this.w17_1;
|
|
2662
2662
|
};
|
|
2663
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2664
|
-
return this.
|
|
2663
|
+
protoOf(AbstractJsonTreeDecoder).pp = function () {
|
|
2664
|
+
return this.s13().pp();
|
|
2665
2665
|
};
|
|
2666
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2666
|
+
protoOf(AbstractJsonTreeDecoder).t13 = function () {
|
|
2667
2667
|
return currentObject(this);
|
|
2668
2668
|
};
|
|
2669
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2669
|
+
protoOf(AbstractJsonTreeDecoder).zo = function (deserializer) {
|
|
2670
2670
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
2671
2671
|
};
|
|
2672
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2672
|
+
protoOf(AbstractJsonTreeDecoder).vz = function (parentName, childName) {
|
|
2673
2673
|
return childName;
|
|
2674
2674
|
};
|
|
2675
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2675
|
+
protoOf(AbstractJsonTreeDecoder).ap = function (descriptor) {
|
|
2676
2676
|
var currentObject_0 = currentObject(this);
|
|
2677
|
-
var tmp0_subject = descriptor.
|
|
2677
|
+
var tmp0_subject = descriptor.hn();
|
|
2678
2678
|
var tmp;
|
|
2679
2679
|
var tmp_0;
|
|
2680
2680
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -2683,11 +2683,11 @@
|
|
|
2683
2683
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
2684
2684
|
}
|
|
2685
2685
|
if (tmp_0) {
|
|
2686
|
-
var tmp_1 = this.
|
|
2686
|
+
var tmp_1 = this.s13();
|
|
2687
2687
|
var tmp$ret$0;
|
|
2688
2688
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2689
2689
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2690
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2690
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.dn() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2691
2691
|
}
|
|
2692
2692
|
tmp$ret$0 = currentObject_0;
|
|
2693
2693
|
tmp = new JsonTreeListDecoder(tmp_1, tmp$ret$0);
|
|
@@ -2695,9 +2695,9 @@
|
|
|
2695
2695
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
2696
2696
|
var tmp$ret$5;
|
|
2697
2697
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
2698
|
-
var tmp0_selectMapMode = this.
|
|
2699
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
2700
|
-
var keyKind = keyDescriptor.
|
|
2698
|
+
var tmp0_selectMapMode = this.s13();
|
|
2699
|
+
var keyDescriptor = carrierDescriptor(descriptor.jn(0), tmp0_selectMapMode.pp());
|
|
2700
|
+
var keyKind = keyDescriptor.hn();
|
|
2701
2701
|
var tmp_2;
|
|
2702
2702
|
var tmp_3;
|
|
2703
2703
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -2708,24 +2708,24 @@
|
|
|
2708
2708
|
if (tmp_3) {
|
|
2709
2709
|
var tmp$ret$2;
|
|
2710
2710
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2711
|
-
var tmp_4 = this.
|
|
2711
|
+
var tmp_4 = this.s13();
|
|
2712
2712
|
var tmp$ret$1;
|
|
2713
2713
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2714
2714
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2715
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2715
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.dn() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2716
2716
|
}
|
|
2717
2717
|
tmp$ret$1 = currentObject_0;
|
|
2718
2718
|
tmp$ret$2 = new JsonTreeMapDecoder(tmp_4, tmp$ret$1);
|
|
2719
2719
|
tmp_2 = tmp$ret$2;
|
|
2720
2720
|
} else {
|
|
2721
|
-
if (tmp0_selectMapMode.
|
|
2721
|
+
if (tmp0_selectMapMode.z11_1.i13_1) {
|
|
2722
2722
|
var tmp$ret$4;
|
|
2723
2723
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2724
|
-
var tmp_5 = this.
|
|
2724
|
+
var tmp_5 = this.s13();
|
|
2725
2725
|
var tmp$ret$3;
|
|
2726
2726
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2727
2727
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2728
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2728
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.dn() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2729
2729
|
}
|
|
2730
2730
|
tmp$ret$3 = currentObject_0;
|
|
2731
2731
|
tmp$ret$4 = new JsonTreeListDecoder(tmp_5, tmp$ret$3);
|
|
@@ -2737,11 +2737,11 @@
|
|
|
2737
2737
|
tmp$ret$5 = tmp_2;
|
|
2738
2738
|
tmp = tmp$ret$5;
|
|
2739
2739
|
} else {
|
|
2740
|
-
var tmp_6 = this.
|
|
2740
|
+
var tmp_6 = this.s13();
|
|
2741
2741
|
var tmp$ret$6;
|
|
2742
2742
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2743
2743
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2744
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2744
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.dn() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2745
2745
|
}
|
|
2746
2746
|
tmp$ret$6 = currentObject_0;
|
|
2747
2747
|
tmp = new JsonTreeDecoder(tmp_6, tmp$ret$6);
|
|
@@ -2749,14 +2749,14 @@
|
|
|
2749
2749
|
}
|
|
2750
2750
|
return tmp;
|
|
2751
2751
|
};
|
|
2752
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2752
|
+
protoOf(AbstractJsonTreeDecoder).bp = function (descriptor) {
|
|
2753
2753
|
};
|
|
2754
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2754
|
+
protoOf(AbstractJsonTreeDecoder).lo = function () {
|
|
2755
2755
|
var tmp = currentObject(this);
|
|
2756
2756
|
return !(tmp instanceof JsonNull);
|
|
2757
2757
|
};
|
|
2758
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2759
|
-
var currentElement = this.
|
|
2758
|
+
protoOf(AbstractJsonTreeDecoder).z17 = function (tag) {
|
|
2759
|
+
var currentElement = this.y17(tag);
|
|
2760
2760
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
2761
2761
|
var tmp;
|
|
2762
2762
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2766,23 +2766,23 @@
|
|
|
2766
2766
|
}
|
|
2767
2767
|
return tmp;
|
|
2768
2768
|
};
|
|
2769
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2770
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2769
|
+
protoOf(AbstractJsonTreeDecoder).a18 = function (tag, enumDescriptor) {
|
|
2770
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.s13(), this.z17(tag).u13());
|
|
2771
2771
|
};
|
|
2772
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2773
|
-
return this.
|
|
2772
|
+
protoOf(AbstractJsonTreeDecoder).h10 = function (tag, enumDescriptor) {
|
|
2773
|
+
return this.a18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
2774
2774
|
};
|
|
2775
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2776
|
-
return !(this.
|
|
2775
|
+
protoOf(AbstractJsonTreeDecoder).b18 = function (tag) {
|
|
2776
|
+
return !(this.y17(tag) === JsonNull_getInstance());
|
|
2777
2777
|
};
|
|
2778
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2779
|
-
return this.
|
|
2778
|
+
protoOf(AbstractJsonTreeDecoder).xz = function (tag) {
|
|
2779
|
+
return this.b18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2780
2780
|
};
|
|
2781
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2782
|
-
var value = this.
|
|
2783
|
-
if (!this.
|
|
2781
|
+
protoOf(AbstractJsonTreeDecoder).c18 = function (tag) {
|
|
2782
|
+
var value = this.z17(tag);
|
|
2783
|
+
if (!this.s13().z11_1.h13_1) {
|
|
2784
2784
|
var literal = asLiteral(value, this, 'boolean');
|
|
2785
|
-
if (literal.
|
|
2785
|
+
if (literal.b14_1)
|
|
2786
2786
|
throw JsonDecodingException_0(-1, "Boolean literal for key '" + tag + "' should be unquoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2787
2787
|
}
|
|
2788
2788
|
var tmp$ret$1;
|
|
@@ -2819,14 +2819,14 @@
|
|
|
2819
2819
|
}
|
|
2820
2820
|
return tmp$ret$1;
|
|
2821
2821
|
};
|
|
2822
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2823
|
-
return this.
|
|
2822
|
+
protoOf(AbstractJsonTreeDecoder).yz = function (tag) {
|
|
2823
|
+
return this.c18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2824
2824
|
};
|
|
2825
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2825
|
+
protoOf(AbstractJsonTreeDecoder).d18 = function (tag) {
|
|
2826
2826
|
var tmp$ret$1;
|
|
2827
2827
|
$l$block: {
|
|
2828
2828
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2829
|
-
var tmp0_primitive = this.
|
|
2829
|
+
var tmp0_primitive = this.z17(tag);
|
|
2830
2830
|
try {
|
|
2831
2831
|
var tmp$ret$0;
|
|
2832
2832
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
@@ -2859,14 +2859,14 @@
|
|
|
2859
2859
|
}
|
|
2860
2860
|
return tmp$ret$1;
|
|
2861
2861
|
};
|
|
2862
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2863
|
-
return this.
|
|
2862
|
+
protoOf(AbstractJsonTreeDecoder).zz = function (tag) {
|
|
2863
|
+
return this.d18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2864
2864
|
};
|
|
2865
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2865
|
+
protoOf(AbstractJsonTreeDecoder).e18 = function (tag) {
|
|
2866
2866
|
var tmp$ret$1;
|
|
2867
2867
|
$l$block: {
|
|
2868
2868
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2869
|
-
var tmp0_primitive = this.
|
|
2869
|
+
var tmp0_primitive = this.z17(tag);
|
|
2870
2870
|
try {
|
|
2871
2871
|
var tmp$ret$0;
|
|
2872
2872
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
@@ -2899,14 +2899,14 @@
|
|
|
2899
2899
|
}
|
|
2900
2900
|
return tmp$ret$1;
|
|
2901
2901
|
};
|
|
2902
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2903
|
-
return this.
|
|
2902
|
+
protoOf(AbstractJsonTreeDecoder).a10 = function (tag) {
|
|
2903
|
+
return this.e18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2904
2904
|
};
|
|
2905
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2905
|
+
protoOf(AbstractJsonTreeDecoder).f18 = function (tag) {
|
|
2906
2906
|
var tmp$ret$1;
|
|
2907
2907
|
$l$block: {
|
|
2908
2908
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2909
|
-
var tmp0_primitive = this.
|
|
2909
|
+
var tmp0_primitive = this.z17(tag);
|
|
2910
2910
|
try {
|
|
2911
2911
|
var tmp$ret$0;
|
|
2912
2912
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
@@ -2931,14 +2931,14 @@
|
|
|
2931
2931
|
}
|
|
2932
2932
|
return tmp$ret$1;
|
|
2933
2933
|
};
|
|
2934
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2935
|
-
return this.
|
|
2934
|
+
protoOf(AbstractJsonTreeDecoder).b10 = function (tag) {
|
|
2935
|
+
return this.f18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2936
2936
|
};
|
|
2937
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2937
|
+
protoOf(AbstractJsonTreeDecoder).g18 = function (tag) {
|
|
2938
2938
|
var tmp$ret$1;
|
|
2939
2939
|
$l$block: {
|
|
2940
2940
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2941
|
-
var tmp0_primitive = this.
|
|
2941
|
+
var tmp0_primitive = this.z17(tag);
|
|
2942
2942
|
try {
|
|
2943
2943
|
var tmp$ret$0;
|
|
2944
2944
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
@@ -2963,14 +2963,14 @@
|
|
|
2963
2963
|
}
|
|
2964
2964
|
return tmp$ret$1;
|
|
2965
2965
|
};
|
|
2966
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2967
|
-
return this.
|
|
2966
|
+
protoOf(AbstractJsonTreeDecoder).c10 = function (tag) {
|
|
2967
|
+
return this.g18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2968
2968
|
};
|
|
2969
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2969
|
+
protoOf(AbstractJsonTreeDecoder).h18 = function (tag) {
|
|
2970
2970
|
var tmp$ret$1;
|
|
2971
2971
|
$l$block: {
|
|
2972
2972
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2973
|
-
var tmp0_primitive = this.
|
|
2973
|
+
var tmp0_primitive = this.z17(tag);
|
|
2974
2974
|
try {
|
|
2975
2975
|
var tmp$ret$0;
|
|
2976
2976
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
@@ -2994,19 +2994,19 @@
|
|
|
2994
2994
|
}
|
|
2995
2995
|
}
|
|
2996
2996
|
var result = tmp$ret$1;
|
|
2997
|
-
var specialFp = this.
|
|
2997
|
+
var specialFp = this.s13().z11_1.p13_1;
|
|
2998
2998
|
if (specialFp ? true : isFinite(result))
|
|
2999
2999
|
return result;
|
|
3000
3000
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
3001
3001
|
};
|
|
3002
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3003
|
-
return this.
|
|
3002
|
+
protoOf(AbstractJsonTreeDecoder).d10 = function (tag) {
|
|
3003
|
+
return this.h18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3004
3004
|
};
|
|
3005
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3005
|
+
protoOf(AbstractJsonTreeDecoder).i18 = function (tag) {
|
|
3006
3006
|
var tmp$ret$1;
|
|
3007
3007
|
$l$block: {
|
|
3008
3008
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3009
|
-
var tmp0_primitive = this.
|
|
3009
|
+
var tmp0_primitive = this.z17(tag);
|
|
3010
3010
|
try {
|
|
3011
3011
|
var tmp$ret$0;
|
|
3012
3012
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
@@ -3030,23 +3030,23 @@
|
|
|
3030
3030
|
}
|
|
3031
3031
|
}
|
|
3032
3032
|
var result = tmp$ret$1;
|
|
3033
|
-
var specialFp = this.
|
|
3033
|
+
var specialFp = this.s13().z11_1.p13_1;
|
|
3034
3034
|
if (specialFp ? true : isFinite_0(result))
|
|
3035
3035
|
return result;
|
|
3036
3036
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
3037
3037
|
};
|
|
3038
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3039
|
-
return this.
|
|
3038
|
+
protoOf(AbstractJsonTreeDecoder).e10 = function (tag) {
|
|
3039
|
+
return this.i18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3040
3040
|
};
|
|
3041
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3041
|
+
protoOf(AbstractJsonTreeDecoder).j18 = function (tag) {
|
|
3042
3042
|
var tmp$ret$1;
|
|
3043
3043
|
$l$block: {
|
|
3044
3044
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3045
|
-
var tmp0_primitive = this.
|
|
3045
|
+
var tmp0_primitive = this.z17(tag);
|
|
3046
3046
|
try {
|
|
3047
3047
|
var tmp$ret$0;
|
|
3048
3048
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3049
|
-
tmp$ret$0 = single(tmp0_primitive.
|
|
3049
|
+
tmp$ret$0 = single(tmp0_primitive.u13());
|
|
3050
3050
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
3051
3051
|
var tmp;
|
|
3052
3052
|
var tmp_0 = tmp0_elvis_lhs;
|
|
@@ -3068,43 +3068,43 @@
|
|
|
3068
3068
|
}
|
|
3069
3069
|
return tmp$ret$1;
|
|
3070
3070
|
};
|
|
3071
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3072
|
-
return this.
|
|
3071
|
+
protoOf(AbstractJsonTreeDecoder).f10 = function (tag) {
|
|
3072
|
+
return this.j18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3073
3073
|
};
|
|
3074
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3075
|
-
var value = this.
|
|
3076
|
-
if (!this.
|
|
3074
|
+
protoOf(AbstractJsonTreeDecoder).k18 = function (tag) {
|
|
3075
|
+
var value = this.z17(tag);
|
|
3076
|
+
if (!this.s13().z11_1.h13_1) {
|
|
3077
3077
|
var literal = asLiteral(value, this, 'string');
|
|
3078
|
-
if (!literal.
|
|
3078
|
+
if (!literal.b14_1)
|
|
3079
3079
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
3080
3080
|
}
|
|
3081
3081
|
if (value instanceof JsonNull)
|
|
3082
3082
|
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this)));
|
|
3083
|
-
return value.
|
|
3083
|
+
return value.u13();
|
|
3084
3084
|
};
|
|
3085
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3086
|
-
return this.
|
|
3085
|
+
protoOf(AbstractJsonTreeDecoder).g10 = function (tag) {
|
|
3086
|
+
return this.k18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3087
3087
|
};
|
|
3088
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3089
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
3088
|
+
protoOf(AbstractJsonTreeDecoder).l18 = function (tag, inlineDescriptor) {
|
|
3089
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.z17(tag).u13()), this.s13()) : protoOf(NamedValueDecoder).i10.call(this, tag, inlineDescriptor);
|
|
3090
3090
|
};
|
|
3091
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3092
|
-
return this.
|
|
3091
|
+
protoOf(AbstractJsonTreeDecoder).i10 = function (tag, inlineDescriptor) {
|
|
3092
|
+
return this.l18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3093
3093
|
};
|
|
3094
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3095
|
-
return !(this.
|
|
3094
|
+
protoOf(AbstractJsonTreeDecoder).xo = function (descriptor) {
|
|
3095
|
+
return !(this.uz() == null) ? protoOf(NamedValueDecoder).xo.call(this, descriptor) : (new JsonPrimitiveDecoder(this.s13(), this.w())).xo(descriptor);
|
|
3096
3096
|
};
|
|
3097
3097
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
3098
3098
|
var tmp$ret$1;
|
|
3099
3099
|
$l$block_2: {
|
|
3100
3100
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
3101
|
-
var tmp0_tryCoerceValue = $this.
|
|
3102
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
3101
|
+
var tmp0_tryCoerceValue = $this.s13();
|
|
3102
|
+
var tmp1_tryCoerceValue = descriptor.jn(index);
|
|
3103
3103
|
var tmp;
|
|
3104
|
-
if (!tmp1_tryCoerceValue.
|
|
3104
|
+
if (!tmp1_tryCoerceValue.zm()) {
|
|
3105
3105
|
var tmp$ret$0;
|
|
3106
3106
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3107
|
-
var tmp_0 = $this.
|
|
3107
|
+
var tmp_0 = $this.y17(tag);
|
|
3108
3108
|
tmp$ret$0 = tmp_0 instanceof JsonNull;
|
|
3109
3109
|
tmp = tmp$ret$0;
|
|
3110
3110
|
} else {
|
|
@@ -3114,12 +3114,12 @@
|
|
|
3114
3114
|
tmp$ret$1 = true;
|
|
3115
3115
|
break $l$block_2;
|
|
3116
3116
|
}
|
|
3117
|
-
if (equals(tmp1_tryCoerceValue.
|
|
3117
|
+
if (equals(tmp1_tryCoerceValue.hn(), ENUM_getInstance())) {
|
|
3118
3118
|
var tmp_1;
|
|
3119
|
-
if (tmp1_tryCoerceValue.
|
|
3119
|
+
if (tmp1_tryCoerceValue.zm()) {
|
|
3120
3120
|
var tmp$ret$2;
|
|
3121
3121
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3122
|
-
var tmp_2 = $this.
|
|
3122
|
+
var tmp_2 = $this.y17(tag);
|
|
3123
3123
|
tmp$ret$2 = tmp_2 instanceof JsonNull;
|
|
3124
3124
|
tmp_1 = tmp$ret$2;
|
|
3125
3125
|
} else {
|
|
@@ -3131,7 +3131,7 @@
|
|
|
3131
3131
|
}
|
|
3132
3132
|
var tmp$ret$3;
|
|
3133
3133
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3134
|
-
var tmp_3 = $this.
|
|
3134
|
+
var tmp_3 = $this.y17(tag);
|
|
3135
3135
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3136
3136
|
tmp$ret$3 = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3137
3137
|
var tmp0_elvis_lhs = tmp$ret$3;
|
|
@@ -3158,30 +3158,30 @@
|
|
|
3158
3158
|
return tmp$ret$1;
|
|
3159
3159
|
}
|
|
3160
3160
|
function absenceIsNull($this, descriptor, index) {
|
|
3161
|
-
$this.
|
|
3162
|
-
return $this.
|
|
3161
|
+
$this.v18_1 = (!$this.s13().z11_1.k13_1 ? !descriptor.mn(index) : false) ? descriptor.jn(index).zm() : false;
|
|
3162
|
+
return $this.v18_1;
|
|
3163
3163
|
}
|
|
3164
3164
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
3165
3165
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
3166
3166
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3167
3167
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3168
|
-
this.
|
|
3169
|
-
this.
|
|
3170
|
-
this.
|
|
3171
|
-
this.
|
|
3172
|
-
this.
|
|
3168
|
+
this.r18_1 = value;
|
|
3169
|
+
this.s18_1 = polyDiscriminator;
|
|
3170
|
+
this.t18_1 = polyDescriptor;
|
|
3171
|
+
this.u18_1 = 0;
|
|
3172
|
+
this.v18_1 = false;
|
|
3173
3173
|
}
|
|
3174
3174
|
protoOf(JsonTreeDecoder).w = function () {
|
|
3175
|
-
return this.
|
|
3175
|
+
return this.r18_1;
|
|
3176
3176
|
};
|
|
3177
|
-
protoOf(JsonTreeDecoder).
|
|
3178
|
-
while (this.
|
|
3177
|
+
protoOf(JsonTreeDecoder).rp = function (descriptor) {
|
|
3178
|
+
while (this.u18_1 < descriptor.fn()) {
|
|
3179
3179
|
var tmp0_this = this;
|
|
3180
|
-
var tmp1 = tmp0_this.
|
|
3181
|
-
tmp0_this.
|
|
3182
|
-
var name = this.
|
|
3183
|
-
var index = this.
|
|
3184
|
-
this.
|
|
3180
|
+
var tmp1 = tmp0_this.u18_1;
|
|
3181
|
+
tmp0_this.u18_1 = tmp1 + 1 | 0;
|
|
3182
|
+
var name = this.pz(descriptor, tmp1);
|
|
3183
|
+
var index = this.u18_1 - 1 | 0;
|
|
3184
|
+
this.v18_1 = false;
|
|
3185
3185
|
var tmp;
|
|
3186
3186
|
var tmp_0;
|
|
3187
3187
|
var tmp$ret$1;
|
|
@@ -3197,7 +3197,7 @@
|
|
|
3197
3197
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3198
3198
|
}
|
|
3199
3199
|
if (tmp_0) {
|
|
3200
|
-
tmp = !this.
|
|
3200
|
+
tmp = !this.x17_1.m13_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
3201
3201
|
} else {
|
|
3202
3202
|
tmp = false;
|
|
3203
3203
|
}
|
|
@@ -3208,19 +3208,19 @@
|
|
|
3208
3208
|
Companion_getInstance();
|
|
3209
3209
|
return -1;
|
|
3210
3210
|
};
|
|
3211
|
-
protoOf(JsonTreeDecoder).
|
|
3212
|
-
return !this.
|
|
3211
|
+
protoOf(JsonTreeDecoder).lo = function () {
|
|
3212
|
+
return !this.v18_1 ? protoOf(AbstractJsonTreeDecoder).lo.call(this) : false;
|
|
3213
3213
|
};
|
|
3214
|
-
protoOf(JsonTreeDecoder).
|
|
3215
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3216
|
-
var baseName = descriptor.
|
|
3214
|
+
protoOf(JsonTreeDecoder).qz = function (descriptor, index) {
|
|
3215
|
+
var strategy = namingStrategy(descriptor, this.s13());
|
|
3216
|
+
var baseName = descriptor.ln(index);
|
|
3217
3217
|
if (strategy == null) {
|
|
3218
|
-
if (!this.
|
|
3218
|
+
if (!this.x17_1.q13_1)
|
|
3219
3219
|
return baseName;
|
|
3220
3220
|
if (this.w().n2().i1(baseName))
|
|
3221
3221
|
return baseName;
|
|
3222
3222
|
}
|
|
3223
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3223
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.s13(), descriptor);
|
|
3224
3224
|
var tmp$ret$2;
|
|
3225
3225
|
// Inline function 'kotlin.collections.find' call
|
|
3226
3226
|
var tmp0_find = this.w().n2();
|
|
@@ -3251,39 +3251,39 @@
|
|
|
3251
3251
|
return tmp0_safe_receiver;
|
|
3252
3252
|
}
|
|
3253
3253
|
var tmp1_safe_receiver = strategy;
|
|
3254
|
-
var fallbackName = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3254
|
+
var fallbackName = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.y14(descriptor, index, baseName);
|
|
3255
3255
|
var tmp2_elvis_lhs = fallbackName;
|
|
3256
3256
|
return tmp2_elvis_lhs == null ? baseName : tmp2_elvis_lhs;
|
|
3257
3257
|
};
|
|
3258
|
-
protoOf(JsonTreeDecoder).
|
|
3258
|
+
protoOf(JsonTreeDecoder).y17 = function (tag) {
|
|
3259
3259
|
return getValue(this.w(), tag);
|
|
3260
3260
|
};
|
|
3261
|
-
protoOf(JsonTreeDecoder).
|
|
3262
|
-
if (descriptor === this.
|
|
3261
|
+
protoOf(JsonTreeDecoder).ap = function (descriptor) {
|
|
3262
|
+
if (descriptor === this.t18_1)
|
|
3263
3263
|
return this;
|
|
3264
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3264
|
+
return protoOf(AbstractJsonTreeDecoder).ap.call(this, descriptor);
|
|
3265
3265
|
};
|
|
3266
|
-
protoOf(JsonTreeDecoder).
|
|
3266
|
+
protoOf(JsonTreeDecoder).bp = function (descriptor) {
|
|
3267
3267
|
var tmp;
|
|
3268
|
-
if (this.
|
|
3268
|
+
if (this.x17_1.g13_1) {
|
|
3269
3269
|
tmp = true;
|
|
3270
3270
|
} else {
|
|
3271
|
-
var tmp_0 = descriptor.
|
|
3271
|
+
var tmp_0 = descriptor.hn();
|
|
3272
3272
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3273
3273
|
}
|
|
3274
3274
|
if (tmp)
|
|
3275
3275
|
return Unit_getInstance();
|
|
3276
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3276
|
+
var strategy = namingStrategy(descriptor, this.s13());
|
|
3277
3277
|
var tmp_1;
|
|
3278
|
-
if (strategy == null ? !this.
|
|
3278
|
+
if (strategy == null ? !this.x17_1.q13_1 : false) {
|
|
3279
3279
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3280
3280
|
} else if (!(strategy == null)) {
|
|
3281
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3281
|
+
tmp_1 = deserializationNamesMap(this.s13(), descriptor).n2();
|
|
3282
3282
|
} else {
|
|
3283
3283
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3284
3284
|
var tmp$ret$0;
|
|
3285
3285
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3286
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3286
|
+
var tmp0_safe_receiver = get_schemaCache(this.s13()).y16(descriptor, get_JsonDeserializationNamesKey());
|
|
3287
3287
|
var tmp0_orEmpty = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n2();
|
|
3288
3288
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
3289
3289
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3293,48 +3293,48 @@
|
|
|
3293
3293
|
var tmp1_iterator = this.w().n2().c();
|
|
3294
3294
|
while (tmp1_iterator.d()) {
|
|
3295
3295
|
var key = tmp1_iterator.e();
|
|
3296
|
-
if (!names.i1(key) ? !(key === this.
|
|
3296
|
+
if (!names.i1(key) ? !(key === this.s18_1) : false) {
|
|
3297
3297
|
throw UnknownKeyException(key, this.w().toString());
|
|
3298
3298
|
}
|
|
3299
3299
|
}
|
|
3300
3300
|
};
|
|
3301
3301
|
function JsonTreeListDecoder(json, value) {
|
|
3302
3302
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3303
|
-
this.
|
|
3304
|
-
this.
|
|
3305
|
-
this.
|
|
3303
|
+
this.b19_1 = value;
|
|
3304
|
+
this.c19_1 = this.b19_1.f();
|
|
3305
|
+
this.d19_1 = -1;
|
|
3306
3306
|
}
|
|
3307
3307
|
protoOf(JsonTreeListDecoder).w = function () {
|
|
3308
|
-
return this.
|
|
3308
|
+
return this.b19_1;
|
|
3309
3309
|
};
|
|
3310
|
-
protoOf(JsonTreeListDecoder).
|
|
3310
|
+
protoOf(JsonTreeListDecoder).qz = function (descriptor, index) {
|
|
3311
3311
|
return index.toString();
|
|
3312
3312
|
};
|
|
3313
|
-
protoOf(JsonTreeListDecoder).
|
|
3314
|
-
return this.
|
|
3313
|
+
protoOf(JsonTreeListDecoder).y17 = function (tag) {
|
|
3314
|
+
return this.b19_1.h(toInt(tag));
|
|
3315
3315
|
};
|
|
3316
|
-
protoOf(JsonTreeListDecoder).
|
|
3317
|
-
while (this.
|
|
3316
|
+
protoOf(JsonTreeListDecoder).rp = function (descriptor) {
|
|
3317
|
+
while (this.d19_1 < (this.c19_1 - 1 | 0)) {
|
|
3318
3318
|
var tmp0_this = this;
|
|
3319
|
-
var tmp1 = tmp0_this.
|
|
3320
|
-
tmp0_this.
|
|
3321
|
-
return this.
|
|
3319
|
+
var tmp1 = tmp0_this.d19_1;
|
|
3320
|
+
tmp0_this.d19_1 = tmp1 + 1 | 0;
|
|
3321
|
+
return this.d19_1;
|
|
3322
3322
|
}
|
|
3323
3323
|
Companion_getInstance();
|
|
3324
3324
|
return -1;
|
|
3325
3325
|
};
|
|
3326
3326
|
function JsonPrimitiveDecoder(json, value) {
|
|
3327
3327
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3328
|
-
this.
|
|
3329
|
-
this.
|
|
3328
|
+
this.j19_1 = value;
|
|
3329
|
+
this.j10(get_PRIMITIVE_TAG());
|
|
3330
3330
|
}
|
|
3331
3331
|
protoOf(JsonPrimitiveDecoder).w = function () {
|
|
3332
|
-
return this.
|
|
3332
|
+
return this.j19_1;
|
|
3333
3333
|
};
|
|
3334
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3334
|
+
protoOf(JsonPrimitiveDecoder).rp = function (descriptor) {
|
|
3335
3335
|
return 0;
|
|
3336
3336
|
};
|
|
3337
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3337
|
+
protoOf(JsonPrimitiveDecoder).y17 = function (tag) {
|
|
3338
3338
|
// Inline function 'kotlin.require' call
|
|
3339
3339
|
var tmp0_require = tag === get_PRIMITIVE_TAG();
|
|
3340
3340
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3345,39 +3345,39 @@
|
|
|
3345
3345
|
var message = tmp$ret$0;
|
|
3346
3346
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3347
3347
|
}
|
|
3348
|
-
return this.
|
|
3348
|
+
return this.j19_1;
|
|
3349
3349
|
};
|
|
3350
3350
|
function JsonTreeMapDecoder(json, value) {
|
|
3351
3351
|
JsonTreeDecoder.call(this, json, value);
|
|
3352
|
-
this.
|
|
3353
|
-
this.
|
|
3354
|
-
this.
|
|
3355
|
-
this.
|
|
3352
|
+
this.u19_1 = value;
|
|
3353
|
+
this.v19_1 = toList(this.u19_1.n2());
|
|
3354
|
+
this.w19_1 = imul(this.v19_1.f(), 2);
|
|
3355
|
+
this.x19_1 = -1;
|
|
3356
3356
|
}
|
|
3357
3357
|
protoOf(JsonTreeMapDecoder).w = function () {
|
|
3358
|
-
return this.
|
|
3358
|
+
return this.u19_1;
|
|
3359
3359
|
};
|
|
3360
|
-
protoOf(JsonTreeMapDecoder).
|
|
3360
|
+
protoOf(JsonTreeMapDecoder).qz = function (descriptor, index) {
|
|
3361
3361
|
var i = index / 2 | 0;
|
|
3362
|
-
return this.
|
|
3362
|
+
return this.v19_1.h(i);
|
|
3363
3363
|
};
|
|
3364
|
-
protoOf(JsonTreeMapDecoder).
|
|
3365
|
-
while (this.
|
|
3364
|
+
protoOf(JsonTreeMapDecoder).rp = function (descriptor) {
|
|
3365
|
+
while (this.x19_1 < (this.w19_1 - 1 | 0)) {
|
|
3366
3366
|
var tmp0_this = this;
|
|
3367
|
-
var tmp1 = tmp0_this.
|
|
3368
|
-
tmp0_this.
|
|
3369
|
-
return this.
|
|
3367
|
+
var tmp1 = tmp0_this.x19_1;
|
|
3368
|
+
tmp0_this.x19_1 = tmp1 + 1 | 0;
|
|
3369
|
+
return this.x19_1;
|
|
3370
3370
|
}
|
|
3371
3371
|
Companion_getInstance();
|
|
3372
3372
|
return -1;
|
|
3373
3373
|
};
|
|
3374
|
-
protoOf(JsonTreeMapDecoder).
|
|
3375
|
-
return (this.
|
|
3374
|
+
protoOf(JsonTreeMapDecoder).y17 = function (tag) {
|
|
3375
|
+
return (this.x19_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.u19_1, tag);
|
|
3376
3376
|
};
|
|
3377
|
-
protoOf(JsonTreeMapDecoder).
|
|
3377
|
+
protoOf(JsonTreeMapDecoder).bp = function (descriptor) {
|
|
3378
3378
|
};
|
|
3379
3379
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3380
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3380
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.cm())).zo(deserializer);
|
|
3381
3381
|
}
|
|
3382
3382
|
function get_PRIMITIVE_TAG() {
|
|
3383
3383
|
return PRIMITIVE_TAG;
|
|
@@ -3399,11 +3399,11 @@
|
|
|
3399
3399
|
}
|
|
3400
3400
|
function WriteMode(name, ordinal, begin, end) {
|
|
3401
3401
|
Enum.call(this, name, ordinal);
|
|
3402
|
-
this.
|
|
3403
|
-
this.
|
|
3402
|
+
this.l17_1 = begin;
|
|
3403
|
+
this.m17_1 = end;
|
|
3404
3404
|
}
|
|
3405
3405
|
function switchMode(_this__u8e3s4, desc) {
|
|
3406
|
-
var tmp0_subject = desc.
|
|
3406
|
+
var tmp0_subject = desc.hn();
|
|
3407
3407
|
var tmp;
|
|
3408
3408
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3409
3409
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3414,8 +3414,8 @@
|
|
|
3414
3414
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3415
3415
|
var tmp$ret$2;
|
|
3416
3416
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3417
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3418
|
-
var keyKind = keyDescriptor.
|
|
3417
|
+
var keyDescriptor = carrierDescriptor(desc.jn(0), _this__u8e3s4.pp());
|
|
3418
|
+
var keyKind = keyDescriptor.hn();
|
|
3419
3419
|
var tmp_0;
|
|
3420
3420
|
var tmp_1;
|
|
3421
3421
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3429,7 +3429,7 @@
|
|
|
3429
3429
|
tmp$ret$0 = WriteMode_MAP_getInstance();
|
|
3430
3430
|
tmp_0 = tmp$ret$0;
|
|
3431
3431
|
} else {
|
|
3432
|
-
if (_this__u8e3s4.
|
|
3432
|
+
if (_this__u8e3s4.z11_1.i13_1) {
|
|
3433
3433
|
var tmp$ret$1;
|
|
3434
3434
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3435
3435
|
tmp$ret$1 = WriteMode_LIST_getInstance();
|
|
@@ -3449,12 +3449,12 @@
|
|
|
3449
3449
|
}
|
|
3450
3450
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
3451
3451
|
var tmp;
|
|
3452
|
-
if (equals(_this__u8e3s4.
|
|
3452
|
+
if (equals(_this__u8e3s4.hn(), CONTEXTUAL_getInstance())) {
|
|
3453
3453
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
3454
3454
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
3455
3455
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
3456
|
-
} else if (_this__u8e3s4.
|
|
3457
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
3456
|
+
} else if (_this__u8e3s4.gn()) {
|
|
3457
|
+
tmp = carrierDescriptor(_this__u8e3s4.jn(0), module_0);
|
|
3458
3458
|
} else {
|
|
3459
3459
|
tmp = _this__u8e3s4;
|
|
3460
3460
|
}
|
|
@@ -3481,61 +3481,61 @@
|
|
|
3481
3481
|
}
|
|
3482
3482
|
var STRING;
|
|
3483
3483
|
function appendEscape($this, lastPosition, current) {
|
|
3484
|
-
$this.
|
|
3484
|
+
$this.y19(lastPosition, current);
|
|
3485
3485
|
return appendEsc($this, current + 1 | 0);
|
|
3486
3486
|
}
|
|
3487
3487
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3488
|
-
$this.
|
|
3489
|
-
var result = $this.
|
|
3490
|
-
$this.
|
|
3488
|
+
$this.y19(lastPosition, currentPosition);
|
|
3489
|
+
var result = $this.p12_1.toString();
|
|
3490
|
+
$this.p12_1.pd(0);
|
|
3491
3491
|
return result;
|
|
3492
3492
|
}
|
|
3493
3493
|
function takePeeked($this) {
|
|
3494
3494
|
var tmp$ret$0;
|
|
3495
3495
|
// Inline function 'kotlin.also' call
|
|
3496
|
-
var tmp0_also = ensureNotNull($this.
|
|
3496
|
+
var tmp0_also = ensureNotNull($this.o12_1);
|
|
3497
3497
|
// Inline function 'kotlin.contracts.contract' call
|
|
3498
3498
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3499
|
-
$this.
|
|
3499
|
+
$this.o12_1 = null;
|
|
3500
3500
|
tmp$ret$0 = tmp0_also;
|
|
3501
3501
|
return tmp$ret$0;
|
|
3502
3502
|
}
|
|
3503
3503
|
function wasUnquotedString($this) {
|
|
3504
|
-
return !equals(new Char(charSequenceGet($this.
|
|
3504
|
+
return !equals(new Char(charSequenceGet($this.z19(), $this.m12_1 - 1 | 0)), new Char(_Char___init__impl__6a9atx(34)));
|
|
3505
3505
|
}
|
|
3506
3506
|
function appendEsc($this, startPosition) {
|
|
3507
3507
|
var currentPosition = startPosition;
|
|
3508
|
-
currentPosition = $this.
|
|
3508
|
+
currentPosition = $this.a1a(currentPosition);
|
|
3509
3509
|
if (currentPosition === -1) {
|
|
3510
|
-
$this.
|
|
3510
|
+
$this.u14('Expected escape sequence to continue, got EOF');
|
|
3511
3511
|
}
|
|
3512
|
-
var tmp = $this.
|
|
3512
|
+
var tmp = $this.z19();
|
|
3513
3513
|
var tmp0 = currentPosition;
|
|
3514
3514
|
currentPosition = tmp0 + 1 | 0;
|
|
3515
3515
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3516
3516
|
if (equals(new Char(currentChar), new Char(_Char___init__impl__6a9atx(117)))) {
|
|
3517
|
-
return appendHex($this, $this.
|
|
3517
|
+
return appendHex($this, $this.z19(), currentPosition);
|
|
3518
3518
|
}
|
|
3519
3519
|
var tmp$ret$0;
|
|
3520
3520
|
// Inline function 'kotlin.code' call
|
|
3521
3521
|
tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3522
3522
|
var c = escapeToChar(tmp$ret$0);
|
|
3523
3523
|
if (equals(new Char(c), new Char(_Char___init__impl__6a9atx(0)))) {
|
|
3524
|
-
$this.
|
|
3524
|
+
$this.u14("Invalid escaped char '" + new Char(currentChar) + "'");
|
|
3525
3525
|
}
|
|
3526
|
-
$this.
|
|
3526
|
+
$this.p12_1.x4(c);
|
|
3527
3527
|
return currentPosition;
|
|
3528
3528
|
}
|
|
3529
3529
|
function appendHex($this, source, startPos) {
|
|
3530
3530
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3531
|
-
$this.
|
|
3532
|
-
$this.
|
|
3533
|
-
if (($this.
|
|
3534
|
-
$this.
|
|
3531
|
+
$this.m12_1 = startPos;
|
|
3532
|
+
$this.b1a();
|
|
3533
|
+
if (($this.m12_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3534
|
+
$this.u14('Unexpected EOF during unicode escape');
|
|
3535
3535
|
}
|
|
3536
|
-
return appendHex($this, source, $this.
|
|
3536
|
+
return appendHex($this, source, $this.m12_1);
|
|
3537
3537
|
}
|
|
3538
|
-
$this.
|
|
3538
|
+
$this.p12_1.x4(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
|
|
3539
3539
|
return startPos + 4 | 0;
|
|
3540
3540
|
}
|
|
3541
3541
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3569,18 +3569,18 @@
|
|
|
3569
3569
|
tmp$ret$5 = 65;
|
|
3570
3570
|
tmp = (tmp_2 - tmp$ret$5 | 0) + 10 | 0;
|
|
3571
3571
|
} else {
|
|
3572
|
-
$this.
|
|
3572
|
+
$this.u14("Invalid toHexChar char '" + new Char(character) + "' in unicode escape");
|
|
3573
3573
|
}
|
|
3574
3574
|
return tmp;
|
|
3575
3575
|
}
|
|
3576
3576
|
function consumeBoolean($this, start) {
|
|
3577
|
-
var current = $this.
|
|
3578
|
-
if (current >= charSequenceLength($this.
|
|
3579
|
-
$this.
|
|
3577
|
+
var current = $this.a1a(start);
|
|
3578
|
+
if (current >= charSequenceLength($this.z19()) ? true : current === -1) {
|
|
3579
|
+
$this.u14('EOF');
|
|
3580
3580
|
}
|
|
3581
3581
|
var tmp$ret$0;
|
|
3582
3582
|
// Inline function 'kotlin.code' call
|
|
3583
|
-
var tmp = $this.
|
|
3583
|
+
var tmp = $this.z19();
|
|
3584
3584
|
var tmp0 = current;
|
|
3585
3585
|
current = tmp0 + 1 | 0;
|
|
3586
3586
|
var tmp0__get_code__88qj9g = charSequenceGet(tmp, tmp0);
|
|
@@ -3601,14 +3601,14 @@
|
|
|
3601
3601
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3602
3602
|
tmp_0 = false;
|
|
3603
3603
|
} else {
|
|
3604
|
-
$this.
|
|
3604
|
+
$this.u14("Expected valid boolean literal prefix, but had '" + $this.p15() + "'");
|
|
3605
3605
|
}
|
|
3606
3606
|
}
|
|
3607
3607
|
return tmp_0;
|
|
3608
3608
|
}
|
|
3609
3609
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
3610
|
-
if ((charSequenceLength($this.
|
|
3611
|
-
$this.
|
|
3610
|
+
if ((charSequenceLength($this.z19()) - current | 0) < literalSuffix.length) {
|
|
3611
|
+
$this.u14('Unexpected end of boolean literal');
|
|
3612
3612
|
}
|
|
3613
3613
|
var inductionVariable = 0;
|
|
3614
3614
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -3617,7 +3617,7 @@
|
|
|
3617
3617
|
var i = inductionVariable;
|
|
3618
3618
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3619
3619
|
var expected = charSequenceGet(literalSuffix, i);
|
|
3620
|
-
var actual = charSequenceGet($this.
|
|
3620
|
+
var actual = charSequenceGet($this.z19(), current + i | 0);
|
|
3621
3621
|
var tmp$ret$0;
|
|
3622
3622
|
// Inline function 'kotlin.code' call
|
|
3623
3623
|
tmp$ret$0 = Char__toInt_impl_vasixd(expected);
|
|
@@ -3626,43 +3626,43 @@
|
|
|
3626
3626
|
// Inline function 'kotlin.code' call
|
|
3627
3627
|
tmp$ret$1 = Char__toInt_impl_vasixd(actual);
|
|
3628
3628
|
if (!(tmp === (tmp$ret$1 | 32))) {
|
|
3629
|
-
$this.
|
|
3629
|
+
$this.u14("Expected valid boolean literal prefix, but had '" + $this.p15() + "'");
|
|
3630
3630
|
}
|
|
3631
3631
|
}
|
|
3632
3632
|
while (inductionVariable <= last);
|
|
3633
|
-
$this.
|
|
3633
|
+
$this.m12_1 = current + literalSuffix.length | 0;
|
|
3634
3634
|
}
|
|
3635
3635
|
function AbstractJsonLexer() {
|
|
3636
|
-
this.
|
|
3637
|
-
this.
|
|
3638
|
-
this.
|
|
3639
|
-
this.
|
|
3636
|
+
this.m12_1 = 0;
|
|
3637
|
+
this.n12_1 = new JsonPath();
|
|
3638
|
+
this.o12_1 = null;
|
|
3639
|
+
this.p12_1 = StringBuilder_init_$Create$();
|
|
3640
3640
|
}
|
|
3641
|
-
protoOf(AbstractJsonLexer).
|
|
3641
|
+
protoOf(AbstractJsonLexer).b1a = function () {
|
|
3642
3642
|
};
|
|
3643
|
-
protoOf(AbstractJsonLexer).
|
|
3643
|
+
protoOf(AbstractJsonLexer).c1a = function (c) {
|
|
3644
3644
|
var tmp0_subject = c;
|
|
3645
3645
|
return (((equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(125))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(93)))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(58)))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(44)))) ? false : true;
|
|
3646
3646
|
};
|
|
3647
|
-
protoOf(AbstractJsonLexer).
|
|
3648
|
-
var nextToken = this.
|
|
3647
|
+
protoOf(AbstractJsonLexer).q12 = function () {
|
|
3648
|
+
var nextToken = this.r15();
|
|
3649
3649
|
if (!(nextToken === 10)) {
|
|
3650
|
-
this.
|
|
3650
|
+
this.u14('Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.z19(), this.m12_1 - 1 | 0)) + ' instead');
|
|
3651
3651
|
}
|
|
3652
3652
|
};
|
|
3653
|
-
protoOf(AbstractJsonLexer).
|
|
3654
|
-
var token = this.
|
|
3653
|
+
protoOf(AbstractJsonLexer).l15 = function (expected) {
|
|
3654
|
+
var token = this.r15();
|
|
3655
3655
|
if (!(token === expected)) {
|
|
3656
|
-
this.
|
|
3656
|
+
this.d1a(expected);
|
|
3657
3657
|
}
|
|
3658
3658
|
return token;
|
|
3659
3659
|
};
|
|
3660
|
-
protoOf(AbstractJsonLexer).
|
|
3661
|
-
this.
|
|
3662
|
-
var source = this.
|
|
3663
|
-
var cpos = this.
|
|
3660
|
+
protoOf(AbstractJsonLexer).a17 = function (expected) {
|
|
3661
|
+
this.b1a();
|
|
3662
|
+
var source = this.z19();
|
|
3663
|
+
var cpos = this.m12_1;
|
|
3664
3664
|
$l$loop_0: while (true) {
|
|
3665
|
-
cpos = this.
|
|
3665
|
+
cpos = this.a1a(cpos);
|
|
3666
3666
|
if (cpos === -1)
|
|
3667
3667
|
break $l$loop_0;
|
|
3668
3668
|
var tmp0 = cpos;
|
|
@@ -3670,33 +3670,33 @@
|
|
|
3670
3670
|
var c = charSequenceGet(source, tmp0);
|
|
3671
3671
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))
|
|
3672
3672
|
continue $l$loop_0;
|
|
3673
|
-
this.
|
|
3673
|
+
this.m12_1 = cpos;
|
|
3674
3674
|
if (equals(new Char(c), new Char(expected)))
|
|
3675
3675
|
return Unit_getInstance();
|
|
3676
|
-
this.
|
|
3676
|
+
this.e1a(expected);
|
|
3677
3677
|
}
|
|
3678
|
-
this.
|
|
3679
|
-
this.
|
|
3678
|
+
this.m12_1 = cpos;
|
|
3679
|
+
this.e1a(expected);
|
|
3680
3680
|
};
|
|
3681
|
-
protoOf(AbstractJsonLexer).
|
|
3681
|
+
protoOf(AbstractJsonLexer).e1a = function (expected) {
|
|
3682
3682
|
var tmp0_this = this;
|
|
3683
|
-
tmp0_this.
|
|
3684
|
-
if ((this.
|
|
3685
|
-
this.
|
|
3683
|
+
tmp0_this.m12_1 = tmp0_this.m12_1 - 1 | 0;
|
|
3684
|
+
if ((this.m12_1 >= 0 ? equals(new Char(expected), new Char(_Char___init__impl__6a9atx(34))) : false) ? this.p15() === 'null' : false) {
|
|
3685
|
+
this.f1a("Expected string literal but 'null' literal was found", this.m12_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.");
|
|
3686
3686
|
}
|
|
3687
|
-
this.
|
|
3687
|
+
this.d1a(charToTokenClass(expected));
|
|
3688
3688
|
};
|
|
3689
|
-
protoOf(AbstractJsonLexer).
|
|
3689
|
+
protoOf(AbstractJsonLexer).d1a = function (expectedToken) {
|
|
3690
3690
|
var tmp0_subject = expectedToken;
|
|
3691
3691
|
var expected = tmp0_subject === 1 ? "quotation mark '\"'" : tmp0_subject === 4 ? "comma ','" : tmp0_subject === 5 ? "colon ':'" : tmp0_subject === 6 ? "start of the object '{'" : tmp0_subject === 7 ? "end of the object '}'" : tmp0_subject === 8 ? "start of the array '['" : tmp0_subject === 9 ? "end of the array ']'" : 'valid token';
|
|
3692
|
-
var s = (this.
|
|
3693
|
-
this.
|
|
3692
|
+
var s = (this.m12_1 === charSequenceLength(this.z19()) ? true : this.m12_1 <= 0) ? 'EOF' : toString_0(charSequenceGet(this.z19(), this.m12_1 - 1 | 0));
|
|
3693
|
+
this.u14('Expected ' + expected + ", but had '" + s + "' instead", this.m12_1 - 1 | 0);
|
|
3694
3694
|
};
|
|
3695
|
-
protoOf(AbstractJsonLexer).
|
|
3696
|
-
var source = this.
|
|
3697
|
-
var cpos = this.
|
|
3695
|
+
protoOf(AbstractJsonLexer).m15 = function () {
|
|
3696
|
+
var source = this.z19();
|
|
3697
|
+
var cpos = this.m12_1;
|
|
3698
3698
|
$l$loop_0: while (true) {
|
|
3699
|
-
cpos = this.
|
|
3699
|
+
cpos = this.a1a(cpos);
|
|
3700
3700
|
if (cpos === -1)
|
|
3701
3701
|
break $l$loop_0;
|
|
3702
3702
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -3704,16 +3704,16 @@
|
|
|
3704
3704
|
cpos = cpos + 1 | 0;
|
|
3705
3705
|
continue $l$loop_0;
|
|
3706
3706
|
}
|
|
3707
|
-
this.
|
|
3707
|
+
this.m12_1 = cpos;
|
|
3708
3708
|
return charToTokenClass(ch);
|
|
3709
3709
|
}
|
|
3710
|
-
this.
|
|
3710
|
+
this.m12_1 = cpos;
|
|
3711
3711
|
return 10;
|
|
3712
3712
|
};
|
|
3713
|
-
protoOf(AbstractJsonLexer).
|
|
3714
|
-
var current = this.
|
|
3715
|
-
current = this.
|
|
3716
|
-
var len = charSequenceLength(this.
|
|
3713
|
+
protoOf(AbstractJsonLexer).c17 = function (doConsume) {
|
|
3714
|
+
var current = this.g1a();
|
|
3715
|
+
current = this.a1a(current);
|
|
3716
|
+
var len = charSequenceLength(this.z19()) - current | 0;
|
|
3717
3717
|
if (len < 4 ? true : current === -1)
|
|
3718
3718
|
return false;
|
|
3719
3719
|
var inductionVariable = 0;
|
|
@@ -3721,65 +3721,65 @@
|
|
|
3721
3721
|
do {
|
|
3722
3722
|
var i = inductionVariable;
|
|
3723
3723
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3724
|
-
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.
|
|
3724
|
+
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.z19(), current + i | 0))))
|
|
3725
3725
|
return false;
|
|
3726
3726
|
}
|
|
3727
3727
|
while (inductionVariable <= 3);
|
|
3728
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
3728
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.z19(), current + 4 | 0)) === 0 : false)
|
|
3729
3729
|
return false;
|
|
3730
3730
|
if (doConsume) {
|
|
3731
|
-
this.
|
|
3731
|
+
this.m12_1 = current + 4 | 0;
|
|
3732
3732
|
}
|
|
3733
3733
|
return true;
|
|
3734
3734
|
};
|
|
3735
|
-
protoOf(AbstractJsonLexer).
|
|
3735
|
+
protoOf(AbstractJsonLexer).n17 = function (doConsume, $super) {
|
|
3736
3736
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
3737
|
-
return $super === VOID ? this.
|
|
3737
|
+
return $super === VOID ? this.c17(doConsume) : $super.c17.call(this, doConsume);
|
|
3738
3738
|
};
|
|
3739
|
-
protoOf(AbstractJsonLexer).
|
|
3740
|
-
var current = this.
|
|
3739
|
+
protoOf(AbstractJsonLexer).g1a = function () {
|
|
3740
|
+
var current = this.m12_1;
|
|
3741
3741
|
$l$loop_0: while (true) {
|
|
3742
|
-
current = this.
|
|
3742
|
+
current = this.a1a(current);
|
|
3743
3743
|
if (current === -1)
|
|
3744
3744
|
break $l$loop_0;
|
|
3745
|
-
var c = charSequenceGet(this.
|
|
3745
|
+
var c = charSequenceGet(this.z19(), current);
|
|
3746
3746
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
3747
3747
|
current = current + 1 | 0;
|
|
3748
3748
|
} else {
|
|
3749
3749
|
break $l$loop_0;
|
|
3750
3750
|
}
|
|
3751
3751
|
}
|
|
3752
|
-
this.
|
|
3752
|
+
this.m12_1 = current;
|
|
3753
3753
|
return current;
|
|
3754
3754
|
};
|
|
3755
|
-
protoOf(AbstractJsonLexer).
|
|
3756
|
-
var token = this.
|
|
3755
|
+
protoOf(AbstractJsonLexer).d17 = function (isLenient) {
|
|
3756
|
+
var token = this.m15();
|
|
3757
3757
|
var tmp;
|
|
3758
3758
|
if (isLenient) {
|
|
3759
3759
|
if (!(token === 1) ? !(token === 0) : false)
|
|
3760
3760
|
return null;
|
|
3761
|
-
tmp = this.
|
|
3761
|
+
tmp = this.p15();
|
|
3762
3762
|
} else {
|
|
3763
3763
|
if (!(token === 1))
|
|
3764
3764
|
return null;
|
|
3765
|
-
tmp = this.
|
|
3765
|
+
tmp = this.o15();
|
|
3766
3766
|
}
|
|
3767
3767
|
var string = tmp;
|
|
3768
|
-
this.
|
|
3768
|
+
this.o12_1 = string;
|
|
3769
3769
|
return string;
|
|
3770
3770
|
};
|
|
3771
|
-
protoOf(AbstractJsonLexer).
|
|
3771
|
+
protoOf(AbstractJsonLexer).h1a = function (startPos, endPos) {
|
|
3772
3772
|
var tmp$ret$0;
|
|
3773
3773
|
// Inline function 'kotlin.text.substring' call
|
|
3774
|
-
var tmp0_substring = this.
|
|
3774
|
+
var tmp0_substring = this.z19();
|
|
3775
3775
|
tmp$ret$0 = toString(charSequenceSubSequence(tmp0_substring, startPos, endPos));
|
|
3776
3776
|
return tmp$ret$0;
|
|
3777
3777
|
};
|
|
3778
|
-
protoOf(AbstractJsonLexer).
|
|
3779
|
-
if (!(this.
|
|
3778
|
+
protoOf(AbstractJsonLexer).o15 = function () {
|
|
3779
|
+
if (!(this.o12_1 == null)) {
|
|
3780
3780
|
return takePeeked(this);
|
|
3781
3781
|
}
|
|
3782
|
-
return this.
|
|
3782
|
+
return this.g17();
|
|
3783
3783
|
};
|
|
3784
3784
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
3785
3785
|
var currentPosition = current;
|
|
@@ -3789,19 +3789,19 @@
|
|
|
3789
3789
|
while (!equals(new Char(char), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3790
3790
|
if (equals(new Char(char), new Char(_Char___init__impl__6a9atx(92)))) {
|
|
3791
3791
|
usedAppend = true;
|
|
3792
|
-
currentPosition = this.
|
|
3792
|
+
currentPosition = this.a1a(appendEscape(this, lastPosition, currentPosition));
|
|
3793
3793
|
if (currentPosition === -1) {
|
|
3794
|
-
this.
|
|
3794
|
+
this.u14('EOF', currentPosition);
|
|
3795
3795
|
}
|
|
3796
3796
|
lastPosition = currentPosition;
|
|
3797
3797
|
} else {
|
|
3798
3798
|
currentPosition = currentPosition + 1 | 0;
|
|
3799
3799
|
if (currentPosition >= charSequenceLength(source)) {
|
|
3800
3800
|
usedAppend = true;
|
|
3801
|
-
this.
|
|
3802
|
-
currentPosition = this.
|
|
3801
|
+
this.y19(lastPosition, currentPosition);
|
|
3802
|
+
currentPosition = this.a1a(currentPosition);
|
|
3803
3803
|
if (currentPosition === -1) {
|
|
3804
|
-
this.
|
|
3804
|
+
this.u14('EOF', currentPosition);
|
|
3805
3805
|
}
|
|
3806
3806
|
lastPosition = currentPosition;
|
|
3807
3807
|
}
|
|
@@ -3810,45 +3810,45 @@
|
|
|
3810
3810
|
}
|
|
3811
3811
|
var tmp;
|
|
3812
3812
|
if (!usedAppend) {
|
|
3813
|
-
tmp = this.
|
|
3813
|
+
tmp = this.h1a(lastPosition, currentPosition);
|
|
3814
3814
|
} else {
|
|
3815
3815
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
3816
3816
|
}
|
|
3817
3817
|
var string = tmp;
|
|
3818
|
-
this.
|
|
3818
|
+
this.m12_1 = currentPosition + 1 | 0;
|
|
3819
3819
|
return string;
|
|
3820
3820
|
};
|
|
3821
|
-
protoOf(AbstractJsonLexer).
|
|
3822
|
-
var result = this.
|
|
3821
|
+
protoOf(AbstractJsonLexer).h17 = function () {
|
|
3822
|
+
var result = this.p15();
|
|
3823
3823
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
3824
|
-
this.
|
|
3824
|
+
this.u14("Unexpected 'null' value instead of string literal");
|
|
3825
3825
|
}
|
|
3826
3826
|
return result;
|
|
3827
3827
|
};
|
|
3828
|
-
protoOf(AbstractJsonLexer).
|
|
3829
|
-
if (!(this.
|
|
3828
|
+
protoOf(AbstractJsonLexer).p15 = function () {
|
|
3829
|
+
if (!(this.o12_1 == null)) {
|
|
3830
3830
|
return takePeeked(this);
|
|
3831
3831
|
}
|
|
3832
|
-
var current = this.
|
|
3833
|
-
if (current >= charSequenceLength(this.
|
|
3834
|
-
this.
|
|
3832
|
+
var current = this.g1a();
|
|
3833
|
+
if (current >= charSequenceLength(this.z19()) ? true : current === -1) {
|
|
3834
|
+
this.u14('EOF', current);
|
|
3835
3835
|
}
|
|
3836
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
3836
|
+
var token = charToTokenClass(charSequenceGet(this.z19(), current));
|
|
3837
3837
|
if (token === 1) {
|
|
3838
|
-
return this.
|
|
3838
|
+
return this.o15();
|
|
3839
3839
|
}
|
|
3840
3840
|
if (!(token === 0)) {
|
|
3841
|
-
this.
|
|
3841
|
+
this.u14('Expected beginning of the string, but got ' + new Char(charSequenceGet(this.z19(), current)));
|
|
3842
3842
|
}
|
|
3843
3843
|
var usedAppend = false;
|
|
3844
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
3844
|
+
while (charToTokenClass(charSequenceGet(this.z19(), current)) === 0) {
|
|
3845
3845
|
current = current + 1 | 0;
|
|
3846
|
-
if (current >= charSequenceLength(this.
|
|
3846
|
+
if (current >= charSequenceLength(this.z19())) {
|
|
3847
3847
|
usedAppend = true;
|
|
3848
|
-
this.
|
|
3849
|
-
var eof = this.
|
|
3848
|
+
this.y19(this.m12_1, current);
|
|
3849
|
+
var eof = this.a1a(current);
|
|
3850
3850
|
if (eof === -1) {
|
|
3851
|
-
this.
|
|
3851
|
+
this.m12_1 = current;
|
|
3852
3852
|
return decodedString(this, 0, 0);
|
|
3853
3853
|
} else {
|
|
3854
3854
|
current = eof;
|
|
@@ -3857,34 +3857,34 @@
|
|
|
3857
3857
|
}
|
|
3858
3858
|
var tmp;
|
|
3859
3859
|
if (!usedAppend) {
|
|
3860
|
-
tmp = this.
|
|
3860
|
+
tmp = this.h1a(this.m12_1, current);
|
|
3861
3861
|
} else {
|
|
3862
|
-
tmp = decodedString(this, this.
|
|
3862
|
+
tmp = decodedString(this, this.m12_1, current);
|
|
3863
3863
|
}
|
|
3864
3864
|
var result = tmp;
|
|
3865
|
-
this.
|
|
3865
|
+
this.m12_1 = current;
|
|
3866
3866
|
return result;
|
|
3867
3867
|
};
|
|
3868
|
-
protoOf(AbstractJsonLexer).
|
|
3869
|
-
this.
|
|
3868
|
+
protoOf(AbstractJsonLexer).y19 = function (fromIndex, toIndex) {
|
|
3869
|
+
this.p12_1.od(this.z19(), fromIndex, toIndex);
|
|
3870
3870
|
};
|
|
3871
|
-
protoOf(AbstractJsonLexer).
|
|
3871
|
+
protoOf(AbstractJsonLexer).f17 = function (allowLenientStrings) {
|
|
3872
3872
|
var tmp$ret$0;
|
|
3873
3873
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3874
3874
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
3875
3875
|
var tokenStack = tmp$ret$0;
|
|
3876
|
-
var lastToken = this.
|
|
3876
|
+
var lastToken = this.m15();
|
|
3877
3877
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
3878
|
-
this.
|
|
3878
|
+
this.p15();
|
|
3879
3879
|
return Unit_getInstance();
|
|
3880
3880
|
}
|
|
3881
3881
|
$l$loop: while (true) {
|
|
3882
|
-
lastToken = this.
|
|
3882
|
+
lastToken = this.m15();
|
|
3883
3883
|
if (lastToken === 1) {
|
|
3884
3884
|
if (allowLenientStrings) {
|
|
3885
|
-
this.
|
|
3885
|
+
this.p15();
|
|
3886
3886
|
} else {
|
|
3887
|
-
this.
|
|
3887
|
+
this.g17();
|
|
3888
3888
|
}
|
|
3889
3889
|
continue $l$loop;
|
|
3890
3890
|
}
|
|
@@ -3893,29 +3893,29 @@
|
|
|
3893
3893
|
tokenStack.a(lastToken);
|
|
3894
3894
|
} else if (tmp0_subject === 9) {
|
|
3895
3895
|
if (!(last(tokenStack) === 8))
|
|
3896
|
-
throw JsonDecodingException_0(this.
|
|
3896
|
+
throw JsonDecodingException_0(this.m12_1, 'found ] instead of } at path: ' + this.n12_1, this.z19());
|
|
3897
3897
|
removeLast(tokenStack);
|
|
3898
3898
|
} else if (tmp0_subject === 7) {
|
|
3899
3899
|
if (!(last(tokenStack) === 6))
|
|
3900
|
-
throw JsonDecodingException_0(this.
|
|
3900
|
+
throw JsonDecodingException_0(this.m12_1, 'found } instead of ] at path: ' + this.n12_1, this.z19());
|
|
3901
3901
|
removeLast(tokenStack);
|
|
3902
3902
|
} else if (tmp0_subject === 10) {
|
|
3903
|
-
this.
|
|
3903
|
+
this.u14('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
3904
3904
|
}
|
|
3905
|
-
this.
|
|
3905
|
+
this.r15();
|
|
3906
3906
|
if (tokenStack.f() === 0)
|
|
3907
3907
|
return Unit_getInstance();
|
|
3908
3908
|
}
|
|
3909
3909
|
};
|
|
3910
3910
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
3911
|
-
return "JsonReader(source='" + this.
|
|
3911
|
+
return "JsonReader(source='" + this.z19() + "', currentPosition=" + this.m12_1 + ')';
|
|
3912
3912
|
};
|
|
3913
|
-
protoOf(AbstractJsonLexer).
|
|
3914
|
-
var processed = this.
|
|
3913
|
+
protoOf(AbstractJsonLexer).e17 = function (key) {
|
|
3914
|
+
var processed = this.h1a(0, this.m12_1);
|
|
3915
3915
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
3916
|
-
this.
|
|
3916
|
+
this.f1a("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
3917
3917
|
};
|
|
3918
|
-
protoOf(AbstractJsonLexer).
|
|
3918
|
+
protoOf(AbstractJsonLexer).f1a = function (message, position, hint) {
|
|
3919
3919
|
var tmp;
|
|
3920
3920
|
var tmp$ret$0;
|
|
3921
3921
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -3926,24 +3926,24 @@
|
|
|
3926
3926
|
tmp = '\n' + hint;
|
|
3927
3927
|
}
|
|
3928
3928
|
var hintMessage = tmp;
|
|
3929
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
3929
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.n12_1.h15() + hintMessage, this.z19());
|
|
3930
3930
|
};
|
|
3931
|
-
protoOf(AbstractJsonLexer).
|
|
3932
|
-
position = position === VOID ? this.
|
|
3931
|
+
protoOf(AbstractJsonLexer).u14 = function (message, position, hint, $super) {
|
|
3932
|
+
position = position === VOID ? this.m12_1 : position;
|
|
3933
3933
|
hint = hint === VOID ? '' : hint;
|
|
3934
|
-
return $super === VOID ? this.
|
|
3934
|
+
return $super === VOID ? this.f1a(message, position, hint) : $super.f1a.call(this, message, position, hint);
|
|
3935
3935
|
};
|
|
3936
|
-
protoOf(AbstractJsonLexer).
|
|
3937
|
-
var current = this.
|
|
3938
|
-
current = this.
|
|
3939
|
-
if (current >= charSequenceLength(this.
|
|
3940
|
-
this.
|
|
3936
|
+
protoOf(AbstractJsonLexer).q17 = function () {
|
|
3937
|
+
var current = this.g1a();
|
|
3938
|
+
current = this.a1a(current);
|
|
3939
|
+
if (current >= charSequenceLength(this.z19()) ? true : current === -1) {
|
|
3940
|
+
this.u14('EOF');
|
|
3941
3941
|
}
|
|
3942
3942
|
var tmp;
|
|
3943
|
-
if (equals(new Char(charSequenceGet(this.
|
|
3943
|
+
if (equals(new Char(charSequenceGet(this.z19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3944
3944
|
current = current + 1 | 0;
|
|
3945
|
-
if (current === charSequenceLength(this.
|
|
3946
|
-
this.
|
|
3945
|
+
if (current === charSequenceLength(this.z19())) {
|
|
3946
|
+
this.u14('EOF');
|
|
3947
3947
|
}
|
|
3948
3948
|
tmp = true;
|
|
3949
3949
|
} else {
|
|
@@ -3955,10 +3955,10 @@
|
|
|
3955
3955
|
var start = current;
|
|
3956
3956
|
var hasChars = true;
|
|
3957
3957
|
$l$loop_0: while (hasChars) {
|
|
3958
|
-
var ch = charSequenceGet(this.
|
|
3958
|
+
var ch = charSequenceGet(this.z19(), current);
|
|
3959
3959
|
if (equals(new Char(ch), new Char(_Char___init__impl__6a9atx(45)))) {
|
|
3960
3960
|
if (!(current === start)) {
|
|
3961
|
-
this.
|
|
3961
|
+
this.u14("Unexpected symbol '-' in numeric literal");
|
|
3962
3962
|
}
|
|
3963
3963
|
isNegative = true;
|
|
3964
3964
|
current = current + 1 | 0;
|
|
@@ -3968,10 +3968,10 @@
|
|
|
3968
3968
|
if (!(token === 0))
|
|
3969
3969
|
break $l$loop_0;
|
|
3970
3970
|
current = current + 1 | 0;
|
|
3971
|
-
hasChars = !(current === charSequenceLength(this.
|
|
3971
|
+
hasChars = !(current === charSequenceLength(this.z19()));
|
|
3972
3972
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
3973
3973
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
3974
|
-
this.
|
|
3974
|
+
this.u14("Unexpected symbol '" + new Char(ch) + "' in numeric literal");
|
|
3975
3975
|
}
|
|
3976
3976
|
var tmp$ret$1;
|
|
3977
3977
|
// Inline function 'kotlin.Long.minus' call
|
|
@@ -3983,22 +3983,22 @@
|
|
|
3983
3983
|
tmp$ret$1 = tmp1_minus.c5(toLong_0(digit));
|
|
3984
3984
|
accumulator = tmp$ret$1;
|
|
3985
3985
|
if (accumulator.e1(new Long(0, 0)) > 0) {
|
|
3986
|
-
this.
|
|
3986
|
+
this.u14('Numeric value overflow');
|
|
3987
3987
|
}
|
|
3988
3988
|
}
|
|
3989
3989
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
3990
|
-
this.
|
|
3990
|
+
this.u14('Expected numeric literal');
|
|
3991
3991
|
}
|
|
3992
3992
|
if (hasQuotation) {
|
|
3993
3993
|
if (!hasChars) {
|
|
3994
|
-
this.
|
|
3994
|
+
this.u14('EOF');
|
|
3995
3995
|
}
|
|
3996
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
3997
|
-
this.
|
|
3996
|
+
if (!equals(new Char(charSequenceGet(this.z19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3997
|
+
this.u14('Expected closing quotation mark');
|
|
3998
3998
|
}
|
|
3999
3999
|
current = current + 1 | 0;
|
|
4000
4000
|
}
|
|
4001
|
-
this.
|
|
4001
|
+
this.m12_1 = current;
|
|
4002
4002
|
var tmp_0;
|
|
4003
4003
|
if (isNegative) {
|
|
4004
4004
|
tmp_0 = accumulator;
|
|
@@ -4008,21 +4008,21 @@
|
|
|
4008
4008
|
if (!tmp_1.equals(new Long(0, -2147483648))) {
|
|
4009
4009
|
tmp_0 = accumulator.y4();
|
|
4010
4010
|
} else {
|
|
4011
|
-
this.
|
|
4011
|
+
this.u14('Numeric value overflow');
|
|
4012
4012
|
}
|
|
4013
4013
|
}
|
|
4014
4014
|
return tmp_0;
|
|
4015
4015
|
};
|
|
4016
|
-
protoOf(AbstractJsonLexer).
|
|
4017
|
-
return consumeBoolean(this, this.
|
|
4016
|
+
protoOf(AbstractJsonLexer).o17 = function () {
|
|
4017
|
+
return consumeBoolean(this, this.g1a());
|
|
4018
4018
|
};
|
|
4019
|
-
protoOf(AbstractJsonLexer).
|
|
4020
|
-
var current = this.
|
|
4021
|
-
if (current === charSequenceLength(this.
|
|
4022
|
-
this.
|
|
4019
|
+
protoOf(AbstractJsonLexer).p17 = function () {
|
|
4020
|
+
var current = this.g1a();
|
|
4021
|
+
if (current === charSequenceLength(this.z19())) {
|
|
4022
|
+
this.u14('EOF');
|
|
4023
4023
|
}
|
|
4024
4024
|
var tmp;
|
|
4025
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4025
|
+
if (equals(new Char(charSequenceGet(this.z19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4026
4026
|
current = current + 1 | 0;
|
|
4027
4027
|
tmp = true;
|
|
4028
4028
|
} else {
|
|
@@ -4031,14 +4031,14 @@
|
|
|
4031
4031
|
var hasQuotation = tmp;
|
|
4032
4032
|
var result = consumeBoolean(this, current);
|
|
4033
4033
|
if (hasQuotation) {
|
|
4034
|
-
if (this.
|
|
4035
|
-
this.
|
|
4034
|
+
if (this.m12_1 === charSequenceLength(this.z19())) {
|
|
4035
|
+
this.u14('EOF');
|
|
4036
4036
|
}
|
|
4037
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
4038
|
-
this.
|
|
4037
|
+
if (!equals(new Char(charSequenceGet(this.z19(), this.m12_1)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4038
|
+
this.u14('Expected closing quotation mark');
|
|
4039
4039
|
}
|
|
4040
4040
|
var tmp0_this = this;
|
|
4041
|
-
tmp0_this.
|
|
4041
|
+
tmp0_this.m12_1 = tmp0_this.m12_1 + 1 | 0;
|
|
4042
4042
|
}
|
|
4043
4043
|
return result;
|
|
4044
4044
|
};
|
|
@@ -4048,7 +4048,7 @@
|
|
|
4048
4048
|
// Inline function 'kotlin.code' call
|
|
4049
4049
|
tmp$ret$0 = Char__toInt_impl_vasixd(c);
|
|
4050
4050
|
if (tmp$ret$0 < 126) {
|
|
4051
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4051
|
+
var tmp_0 = CharMappings_getInstance().j1a_1;
|
|
4052
4052
|
var tmp$ret$1;
|
|
4053
4053
|
// Inline function 'kotlin.code' call
|
|
4054
4054
|
tmp$ret$1 = Char__toInt_impl_vasixd(c);
|
|
@@ -4131,7 +4131,7 @@
|
|
|
4131
4131
|
}
|
|
4132
4132
|
var TC_OTHER;
|
|
4133
4133
|
function escapeToChar(c) {
|
|
4134
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4134
|
+
return c < 117 ? CharMappings_getInstance().i1a_1[c] : _Char___init__impl__6a9atx(0);
|
|
4135
4135
|
}
|
|
4136
4136
|
function get_ignoreUnknownKeysHint() {
|
|
4137
4137
|
return ignoreUnknownKeysHint;
|
|
@@ -4182,7 +4182,7 @@
|
|
|
4182
4182
|
var tmp$ret$0;
|
|
4183
4183
|
// Inline function 'kotlin.code' call
|
|
4184
4184
|
tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4185
|
-
$this.
|
|
4185
|
+
$this.i1a_1[tmp$ret$0] = numberToChar(c);
|
|
4186
4186
|
}
|
|
4187
4187
|
}
|
|
4188
4188
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4192,7 +4192,7 @@
|
|
|
4192
4192
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4193
4193
|
}
|
|
4194
4194
|
function initC2TC($this, c, cl) {
|
|
4195
|
-
$this.
|
|
4195
|
+
$this.j1a_1[c] = cl;
|
|
4196
4196
|
}
|
|
4197
4197
|
function initC2TC_0($this, c, cl) {
|
|
4198
4198
|
var tmp$ret$0;
|
|
@@ -4202,8 +4202,8 @@
|
|
|
4202
4202
|
}
|
|
4203
4203
|
function CharMappings() {
|
|
4204
4204
|
CharMappings_instance = this;
|
|
4205
|
-
this.
|
|
4206
|
-
this.
|
|
4205
|
+
this.i1a_1 = charArray(117);
|
|
4206
|
+
this.j1a_1 = new Int8Array(126);
|
|
4207
4207
|
initEscape(this);
|
|
4208
4208
|
initCharToToken(this);
|
|
4209
4209
|
}
|
|
@@ -4223,20 +4223,20 @@
|
|
|
4223
4223
|
var allowStructuredMapKeysHint;
|
|
4224
4224
|
function StringJsonLexer(source) {
|
|
4225
4225
|
AbstractJsonLexer.call(this);
|
|
4226
|
-
this.
|
|
4226
|
+
this.o1a_1 = source;
|
|
4227
4227
|
}
|
|
4228
|
-
protoOf(StringJsonLexer).
|
|
4229
|
-
return this.
|
|
4228
|
+
protoOf(StringJsonLexer).z19 = function () {
|
|
4229
|
+
return this.o1a_1;
|
|
4230
4230
|
};
|
|
4231
|
-
protoOf(StringJsonLexer).
|
|
4232
|
-
return position < this.
|
|
4231
|
+
protoOf(StringJsonLexer).a1a = function (position) {
|
|
4232
|
+
return position < this.o1a_1.length ? position : -1;
|
|
4233
4233
|
};
|
|
4234
|
-
protoOf(StringJsonLexer).
|
|
4235
|
-
var source = this.
|
|
4236
|
-
$l$loop: while (!(this.
|
|
4234
|
+
protoOf(StringJsonLexer).r15 = function () {
|
|
4235
|
+
var source = this.o1a_1;
|
|
4236
|
+
$l$loop: while (!(this.m12_1 === -1) ? this.m12_1 < source.length : false) {
|
|
4237
4237
|
var tmp0_this = this;
|
|
4238
|
-
var tmp1 = tmp0_this.
|
|
4239
|
-
tmp0_this.
|
|
4238
|
+
var tmp1 = tmp0_this.m12_1;
|
|
4239
|
+
tmp0_this.m12_1 = tmp1 + 1 | 0;
|
|
4240
4240
|
var ch = charSequenceGet(source, tmp1);
|
|
4241
4241
|
var tc = charToTokenClass(ch);
|
|
4242
4242
|
var tmp;
|
|
@@ -4249,143 +4249,143 @@
|
|
|
4249
4249
|
}
|
|
4250
4250
|
return get_TC_EOF();
|
|
4251
4251
|
};
|
|
4252
|
-
protoOf(StringJsonLexer).
|
|
4253
|
-
var current = this.
|
|
4254
|
-
if (current === this.
|
|
4252
|
+
protoOf(StringJsonLexer).b17 = function () {
|
|
4253
|
+
var current = this.g1a();
|
|
4254
|
+
if (current === this.o1a_1.length ? true : current === -1)
|
|
4255
4255
|
return false;
|
|
4256
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4256
|
+
if (equals(new Char(charSequenceGet(this.o1a_1, current)), new Char(_Char___init__impl__6a9atx(44)))) {
|
|
4257
4257
|
var tmp0_this = this;
|
|
4258
|
-
tmp0_this.
|
|
4258
|
+
tmp0_this.m12_1 = tmp0_this.m12_1 + 1 | 0;
|
|
4259
4259
|
return true;
|
|
4260
4260
|
}
|
|
4261
4261
|
return false;
|
|
4262
4262
|
};
|
|
4263
|
-
protoOf(StringJsonLexer).
|
|
4264
|
-
var current = this.
|
|
4263
|
+
protoOf(StringJsonLexer).n15 = function () {
|
|
4264
|
+
var current = this.m12_1;
|
|
4265
4265
|
if (current === -1)
|
|
4266
4266
|
return false;
|
|
4267
|
-
$l$loop: while (current < this.
|
|
4268
|
-
var c = charSequenceGet(this.
|
|
4267
|
+
$l$loop: while (current < this.o1a_1.length) {
|
|
4268
|
+
var c = charSequenceGet(this.o1a_1, current);
|
|
4269
4269
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4270
4270
|
current = current + 1 | 0;
|
|
4271
4271
|
continue $l$loop;
|
|
4272
4272
|
}
|
|
4273
|
-
this.
|
|
4274
|
-
return this.
|
|
4273
|
+
this.m12_1 = current;
|
|
4274
|
+
return this.c1a(c);
|
|
4275
4275
|
}
|
|
4276
|
-
this.
|
|
4276
|
+
this.m12_1 = current;
|
|
4277
4277
|
return false;
|
|
4278
4278
|
};
|
|
4279
|
-
protoOf(StringJsonLexer).
|
|
4280
|
-
var current = this.
|
|
4279
|
+
protoOf(StringJsonLexer).g1a = function () {
|
|
4280
|
+
var current = this.m12_1;
|
|
4281
4281
|
if (current === -1)
|
|
4282
4282
|
return current;
|
|
4283
|
-
$l$loop: while (current < this.
|
|
4284
|
-
var c = charSequenceGet(this.
|
|
4283
|
+
$l$loop: while (current < this.o1a_1.length) {
|
|
4284
|
+
var c = charSequenceGet(this.o1a_1, current);
|
|
4285
4285
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4286
4286
|
current = current + 1 | 0;
|
|
4287
4287
|
} else {
|
|
4288
4288
|
break $l$loop;
|
|
4289
4289
|
}
|
|
4290
4290
|
}
|
|
4291
|
-
this.
|
|
4291
|
+
this.m12_1 = current;
|
|
4292
4292
|
return current;
|
|
4293
4293
|
};
|
|
4294
|
-
protoOf(StringJsonLexer).
|
|
4295
|
-
if (this.
|
|
4296
|
-
this.
|
|
4294
|
+
protoOf(StringJsonLexer).a17 = function (expected) {
|
|
4295
|
+
if (this.m12_1 === -1) {
|
|
4296
|
+
this.e1a(expected);
|
|
4297
4297
|
}
|
|
4298
|
-
var source = this.
|
|
4299
|
-
$l$loop: while (this.
|
|
4298
|
+
var source = this.o1a_1;
|
|
4299
|
+
$l$loop: while (this.m12_1 < source.length) {
|
|
4300
4300
|
var tmp0_this = this;
|
|
4301
|
-
var tmp1 = tmp0_this.
|
|
4302
|
-
tmp0_this.
|
|
4301
|
+
var tmp1 = tmp0_this.m12_1;
|
|
4302
|
+
tmp0_this.m12_1 = tmp1 + 1 | 0;
|
|
4303
4303
|
var c = charSequenceGet(source, tmp1);
|
|
4304
4304
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))
|
|
4305
4305
|
continue $l$loop;
|
|
4306
4306
|
if (equals(new Char(c), new Char(expected)))
|
|
4307
4307
|
return Unit_getInstance();
|
|
4308
|
-
this.
|
|
4308
|
+
this.e1a(expected);
|
|
4309
4309
|
}
|
|
4310
|
-
this.
|
|
4310
|
+
this.e1a(expected);
|
|
4311
4311
|
};
|
|
4312
|
-
protoOf(StringJsonLexer).
|
|
4313
|
-
this.
|
|
4314
|
-
var current = this.
|
|
4315
|
-
var closingQuote = indexOf(this.
|
|
4312
|
+
protoOf(StringJsonLexer).g17 = function () {
|
|
4313
|
+
this.a17(get_STRING());
|
|
4314
|
+
var current = this.m12_1;
|
|
4315
|
+
var closingQuote = indexOf(this.o1a_1, _Char___init__impl__6a9atx(34), current);
|
|
4316
4316
|
if (closingQuote === -1) {
|
|
4317
|
-
this.
|
|
4317
|
+
this.d1a(get_TC_STRING());
|
|
4318
4318
|
}
|
|
4319
4319
|
var inductionVariable = current;
|
|
4320
4320
|
if (inductionVariable < closingQuote)
|
|
4321
4321
|
do {
|
|
4322
4322
|
var i = inductionVariable;
|
|
4323
4323
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4324
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4325
|
-
return this.consumeString2(this.
|
|
4324
|
+
if (equals(new Char(charSequenceGet(this.o1a_1, i)), new Char(get_STRING_ESC()))) {
|
|
4325
|
+
return this.consumeString2(this.o1a_1, this.m12_1, i);
|
|
4326
4326
|
}
|
|
4327
4327
|
}
|
|
4328
4328
|
while (inductionVariable < closingQuote);
|
|
4329
|
-
this.
|
|
4329
|
+
this.m12_1 = closingQuote + 1 | 0;
|
|
4330
4330
|
var tmp$ret$1;
|
|
4331
4331
|
// Inline function 'kotlin.text.substring' call
|
|
4332
|
-
var tmp0_substring = this.
|
|
4332
|
+
var tmp0_substring = this.o1a_1;
|
|
4333
4333
|
var tmp$ret$0;
|
|
4334
4334
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4335
4335
|
tmp$ret$0 = tmp0_substring;
|
|
4336
4336
|
tmp$ret$1 = tmp$ret$0.substring(current, closingQuote);
|
|
4337
4337
|
return tmp$ret$1;
|
|
4338
4338
|
};
|
|
4339
|
-
protoOf(StringJsonLexer).
|
|
4340
|
-
var positionSnapshot = this.
|
|
4339
|
+
protoOf(StringJsonLexer).i17 = function (keyToMatch, isLenient) {
|
|
4340
|
+
var positionSnapshot = this.m12_1;
|
|
4341
4341
|
try {
|
|
4342
|
-
if (!(this.
|
|
4342
|
+
if (!(this.r15() === get_TC_BEGIN_OBJ()))
|
|
4343
4343
|
return null;
|
|
4344
|
-
var firstKey = isLenient ? this.
|
|
4344
|
+
var firstKey = isLenient ? this.g17() : this.h17();
|
|
4345
4345
|
if (firstKey === keyToMatch) {
|
|
4346
|
-
if (!(this.
|
|
4346
|
+
if (!(this.r15() === get_TC_COLON()))
|
|
4347
4347
|
return null;
|
|
4348
|
-
var result = isLenient ? this.
|
|
4348
|
+
var result = isLenient ? this.o15() : this.h17();
|
|
4349
4349
|
return result;
|
|
4350
4350
|
}
|
|
4351
4351
|
return null;
|
|
4352
4352
|
}finally {
|
|
4353
|
-
this.
|
|
4353
|
+
this.m12_1 = positionSnapshot;
|
|
4354
4354
|
}
|
|
4355
4355
|
};
|
|
4356
4356
|
function get_schemaCache(_this__u8e3s4) {
|
|
4357
|
-
return _this__u8e3s4.
|
|
4357
|
+
return _this__u8e3s4.b12_1;
|
|
4358
4358
|
}
|
|
4359
4359
|
function createMapForCache(initialCapacity) {
|
|
4360
4360
|
return HashMap_init_$Create$(initialCapacity);
|
|
4361
4361
|
}
|
|
4362
4362
|
//region block: post-declaration
|
|
4363
|
-
protoOf(defer$1).
|
|
4364
|
-
protoOf(defer$1).
|
|
4365
|
-
protoOf(defer$1).
|
|
4366
|
-
protoOf(PolymorphismValidator).
|
|
4367
|
-
protoOf(StreamingJsonDecoder).
|
|
4368
|
-
protoOf(StreamingJsonDecoder).
|
|
4369
|
-
protoOf(StreamingJsonDecoder).
|
|
4370
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4371
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4372
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4373
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4374
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4375
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4376
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4377
|
-
protoOf(JsonTreeDecoder).
|
|
4378
|
-
protoOf(JsonTreeDecoder).
|
|
4379
|
-
protoOf(JsonTreeDecoder).
|
|
4380
|
-
protoOf(JsonTreeListDecoder).
|
|
4381
|
-
protoOf(JsonTreeListDecoder).
|
|
4382
|
-
protoOf(JsonTreeListDecoder).
|
|
4383
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4384
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4385
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4386
|
-
protoOf(JsonTreeMapDecoder).
|
|
4387
|
-
protoOf(JsonTreeMapDecoder).
|
|
4388
|
-
protoOf(JsonTreeMapDecoder).
|
|
4363
|
+
protoOf(defer$1).zm = get_isNullable;
|
|
4364
|
+
protoOf(defer$1).gn = get_isInline;
|
|
4365
|
+
protoOf(defer$1).en = get_annotations;
|
|
4366
|
+
protoOf(PolymorphismValidator).s11 = contextual;
|
|
4367
|
+
protoOf(StreamingJsonDecoder).np = decodeSerializableElement$default;
|
|
4368
|
+
protoOf(StreamingJsonDecoder).qp = decodeSequentially;
|
|
4369
|
+
protoOf(StreamingJsonDecoder).sp = decodeCollectionSize;
|
|
4370
|
+
protoOf(JsonDecoderForUnsignedTypes).zo = decodeSerializableValue;
|
|
4371
|
+
protoOf(JsonDecoderForUnsignedTypes).np = decodeSerializableElement$default;
|
|
4372
|
+
protoOf(JsonDecoderForUnsignedTypes).qp = decodeSequentially;
|
|
4373
|
+
protoOf(JsonDecoderForUnsignedTypes).sp = decodeCollectionSize;
|
|
4374
|
+
protoOf(AbstractJsonTreeDecoder).np = decodeSerializableElement$default;
|
|
4375
|
+
protoOf(AbstractJsonTreeDecoder).qp = decodeSequentially;
|
|
4376
|
+
protoOf(AbstractJsonTreeDecoder).sp = decodeCollectionSize;
|
|
4377
|
+
protoOf(JsonTreeDecoder).np = decodeSerializableElement$default;
|
|
4378
|
+
protoOf(JsonTreeDecoder).qp = decodeSequentially;
|
|
4379
|
+
protoOf(JsonTreeDecoder).sp = decodeCollectionSize;
|
|
4380
|
+
protoOf(JsonTreeListDecoder).np = decodeSerializableElement$default;
|
|
4381
|
+
protoOf(JsonTreeListDecoder).qp = decodeSequentially;
|
|
4382
|
+
protoOf(JsonTreeListDecoder).sp = decodeCollectionSize;
|
|
4383
|
+
protoOf(JsonPrimitiveDecoder).np = decodeSerializableElement$default;
|
|
4384
|
+
protoOf(JsonPrimitiveDecoder).qp = decodeSequentially;
|
|
4385
|
+
protoOf(JsonPrimitiveDecoder).sp = decodeCollectionSize;
|
|
4386
|
+
protoOf(JsonTreeMapDecoder).np = decodeSerializableElement$default;
|
|
4387
|
+
protoOf(JsonTreeMapDecoder).qp = decodeSequentially;
|
|
4388
|
+
protoOf(JsonTreeMapDecoder).sp = decodeCollectionSize;
|
|
4389
4389
|
//endregion
|
|
4390
4390
|
//region block: init
|
|
4391
4391
|
PRIMITIVE_TAG = 'primitive';
|