@flock/wirespec 0.4.4 → 0.5.2
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/kotlin-kotlin-stdlib-js-ir.js +6 -6
- package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin/kotlin-openapi-bindings.js +5138 -5133
- package/kotlin/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1265 -1265
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +980 -980
- package/kotlin/wirespec-cli.js +87 -87
- package/kotlin/wirespec-cli.js.map +1 -1
- package/kotlin/wirespec-core.js +676 -444
- package/kotlin/wirespec-core.js.map +1 -1
- package/kotlin/wirespec-lib.js +38 -38
- package/kotlin/wirespec-openapi.js +2475 -1934
- 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/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/kotlin-openapi-bindings.js.map.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/wirespec-cli.js.hash +1 -1
- package/sync-hashes/wirespec-cli.js.map.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
|
@@ -226,50 +226,50 @@
|
|
|
226
226
|
}
|
|
227
227
|
function Json(configuration, serializersModule) {
|
|
228
228
|
Default_getInstance();
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
229
|
+
this.l11_1 = configuration;
|
|
230
|
+
this.m11_1 = serializersModule;
|
|
231
|
+
this.n11_1 = new DescriptorSchemaCache();
|
|
232
232
|
}
|
|
233
|
-
protoOf(Json).
|
|
234
|
-
return this.
|
|
233
|
+
protoOf(Json).bp = function () {
|
|
234
|
+
return this.m11_1;
|
|
235
235
|
};
|
|
236
|
-
protoOf(Json).
|
|
236
|
+
protoOf(Json).o11 = function (deserializer, string) {
|
|
237
237
|
var lexer = new StringJsonLexer(string);
|
|
238
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
239
|
-
var result = input.
|
|
240
|
-
lexer.
|
|
238
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.ol(), null);
|
|
239
|
+
var result = input.lo(deserializer);
|
|
240
|
+
lexer.c12();
|
|
241
241
|
return result;
|
|
242
242
|
};
|
|
243
|
-
protoOf(Json).
|
|
243
|
+
protoOf(Json).p11 = function (deserializer, element) {
|
|
244
244
|
return readJson(this, element, deserializer);
|
|
245
245
|
};
|
|
246
246
|
function Json_0(from, builderAction) {
|
|
247
247
|
from = from === VOID ? Default_getInstance() : from;
|
|
248
248
|
var builder = new JsonBuilder(from);
|
|
249
249
|
builderAction(builder);
|
|
250
|
-
var conf = builder.
|
|
251
|
-
return new JsonImpl(conf, builder.
|
|
250
|
+
var conf = builder.hs();
|
|
251
|
+
return new JsonImpl(conf, builder.q12_1);
|
|
252
252
|
}
|
|
253
253
|
function JsonBuilder(json) {
|
|
254
|
-
this.
|
|
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
|
-
}
|
|
269
|
-
protoOf(JsonBuilder).
|
|
270
|
-
if (this.
|
|
254
|
+
this.d12_1 = json.l11_1.r12_1;
|
|
255
|
+
this.e12_1 = json.l11_1.w12_1;
|
|
256
|
+
this.f12_1 = json.l11_1.s12_1;
|
|
257
|
+
this.g12_1 = json.l11_1.t12_1;
|
|
258
|
+
this.h12_1 = json.l11_1.u12_1;
|
|
259
|
+
this.i12_1 = json.l11_1.v12_1;
|
|
260
|
+
this.j12_1 = json.l11_1.x12_1;
|
|
261
|
+
this.k12_1 = json.l11_1.y12_1;
|
|
262
|
+
this.l12_1 = json.l11_1.z12_1;
|
|
263
|
+
this.m12_1 = json.l11_1.a13_1;
|
|
264
|
+
this.n12_1 = json.l11_1.b13_1;
|
|
265
|
+
this.o12_1 = json.l11_1.c13_1;
|
|
266
|
+
this.p12_1 = json.l11_1.d13_1;
|
|
267
|
+
this.q12_1 = json.bp();
|
|
268
|
+
}
|
|
269
|
+
protoOf(JsonBuilder).hs = function () {
|
|
270
|
+
if (this.l12_1) {
|
|
271
271
|
// Inline function 'kotlin.require' call
|
|
272
|
-
var tmp0_require = this.
|
|
272
|
+
var tmp0_require = this.m12_1 === 'type';
|
|
273
273
|
// Inline function 'kotlin.contracts.contract' call
|
|
274
274
|
if (!tmp0_require) {
|
|
275
275
|
var tmp$ret$0;
|
|
@@ -279,9 +279,9 @@
|
|
|
279
279
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
if (!this.
|
|
282
|
+
if (!this.i12_1) {
|
|
283
283
|
// Inline function 'kotlin.require' call
|
|
284
|
-
var tmp1_require = this.
|
|
284
|
+
var tmp1_require = this.j12_1 === ' ';
|
|
285
285
|
// Inline function 'kotlin.contracts.contract' call
|
|
286
286
|
if (!tmp1_require) {
|
|
287
287
|
var tmp$ret$1;
|
|
@@ -290,11 +290,11 @@
|
|
|
290
290
|
var message_0 = tmp$ret$1;
|
|
291
291
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
292
292
|
}
|
|
293
|
-
} else if (!(this.
|
|
293
|
+
} else if (!(this.j12_1 === ' ')) {
|
|
294
294
|
var tmp$ret$3;
|
|
295
295
|
$l$block: {
|
|
296
296
|
// Inline function 'kotlin.text.all' call
|
|
297
|
-
var tmp2_all = this.
|
|
297
|
+
var tmp2_all = this.j12_1;
|
|
298
298
|
var indexedObject = tmp2_all;
|
|
299
299
|
var inductionVariable = 0;
|
|
300
300
|
var last = indexedObject.length;
|
|
@@ -317,18 +317,18 @@
|
|
|
317
317
|
if (!allWhitespaces) {
|
|
318
318
|
var tmp$ret$4;
|
|
319
319
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
320
|
-
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
320
|
+
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.j12_1;
|
|
321
321
|
var message_1 = tmp$ret$4;
|
|
322
322
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
return new JsonConfiguration(this.
|
|
325
|
+
return new JsonConfiguration(this.d12_1, this.f12_1, this.g12_1, this.h12_1, this.i12_1, this.e12_1, this.j12_1, this.k12_1, this.l12_1, this.m12_1, this.n12_1, this.o12_1, this.p12_1);
|
|
326
326
|
};
|
|
327
327
|
function validateConfiguration($this) {
|
|
328
|
-
if (equals($this.
|
|
328
|
+
if (equals($this.bp(), EmptySerializersModule()))
|
|
329
329
|
return Unit_getInstance();
|
|
330
|
-
var collector = new PolymorphismValidator($this.
|
|
331
|
-
$this.
|
|
330
|
+
var collector = new PolymorphismValidator($this.l11_1.z12_1, $this.l11_1.a13_1);
|
|
331
|
+
$this.bp().u10(collector);
|
|
332
332
|
}
|
|
333
333
|
function JsonImpl(configuration, module_0) {
|
|
334
334
|
Json.call(this, configuration, module_0);
|
|
@@ -352,22 +352,22 @@
|
|
|
352
352
|
allowSpecialFloatingPointValues = allowSpecialFloatingPointValues === VOID ? false : allowSpecialFloatingPointValues;
|
|
353
353
|
useAlternativeNames = useAlternativeNames === VOID ? true : useAlternativeNames;
|
|
354
354
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
361
|
-
this.
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
355
|
+
this.r12_1 = encodeDefaults;
|
|
356
|
+
this.s12_1 = ignoreUnknownKeys;
|
|
357
|
+
this.t12_1 = isLenient;
|
|
358
|
+
this.u12_1 = allowStructuredMapKeys;
|
|
359
|
+
this.v12_1 = prettyPrint;
|
|
360
|
+
this.w12_1 = explicitNulls;
|
|
361
|
+
this.x12_1 = prettyPrintIndent;
|
|
362
|
+
this.y12_1 = coerceInputValues;
|
|
363
|
+
this.z12_1 = useArrayPolymorphism;
|
|
364
|
+
this.a13_1 = classDiscriminator;
|
|
365
|
+
this.b13_1 = allowSpecialFloatingPointValues;
|
|
366
|
+
this.c13_1 = useAlternativeNames;
|
|
367
|
+
this.d13_1 = namingStrategy;
|
|
368
368
|
}
|
|
369
369
|
protoOf(JsonConfiguration).toString = function () {
|
|
370
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
370
|
+
return 'JsonConfiguration(encodeDefaults=' + this.r12_1 + ', ignoreUnknownKeys=' + this.s12_1 + ', isLenient=' + this.t12_1 + ', ' + ('allowStructuredMapKeys=' + this.u12_1 + ', prettyPrint=' + this.v12_1 + ', explicitNulls=' + this.w12_1 + ', ') + ("prettyPrintIndent='" + this.x12_1 + "', coerceInputValues=" + this.y12_1 + ', useArrayPolymorphism=' + this.z12_1 + ', ') + ("classDiscriminator='" + this.a13_1 + "', allowSpecialFloatingPointValues=" + this.b13_1 + ', useAlternativeNames=' + this.c13_1 + ', ') + ('namingStrategy=' + this.d13_1 + ')');
|
|
371
371
|
};
|
|
372
372
|
function JsonDecoder() {
|
|
373
373
|
}
|
|
@@ -420,44 +420,44 @@
|
|
|
420
420
|
function JsonObject(content) {
|
|
421
421
|
Companion_getInstance_6();
|
|
422
422
|
JsonElement.call(this);
|
|
423
|
-
this.
|
|
423
|
+
this.g13_1 = content;
|
|
424
424
|
}
|
|
425
425
|
protoOf(JsonObject).u = function () {
|
|
426
|
-
return this.
|
|
426
|
+
return this.g13_1.u();
|
|
427
427
|
};
|
|
428
428
|
protoOf(JsonObject).n2 = function () {
|
|
429
|
-
return this.
|
|
429
|
+
return this.g13_1.n2();
|
|
430
430
|
};
|
|
431
431
|
protoOf(JsonObject).f = function () {
|
|
432
|
-
return this.
|
|
432
|
+
return this.g13_1.f();
|
|
433
433
|
};
|
|
434
|
-
protoOf(JsonObject).
|
|
435
|
-
return this.
|
|
434
|
+
protoOf(JsonObject).h13 = function (key) {
|
|
435
|
+
return this.g13_1.i2(key);
|
|
436
436
|
};
|
|
437
437
|
protoOf(JsonObject).i2 = function (key) {
|
|
438
438
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
439
439
|
return false;
|
|
440
|
-
return this.
|
|
440
|
+
return this.h13((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
441
441
|
};
|
|
442
|
-
protoOf(JsonObject).
|
|
443
|
-
return this.
|
|
442
|
+
protoOf(JsonObject).i13 = function (key) {
|
|
443
|
+
return this.g13_1.m2(key);
|
|
444
444
|
};
|
|
445
445
|
protoOf(JsonObject).m2 = function (key) {
|
|
446
446
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
447
447
|
return null;
|
|
448
|
-
return this.
|
|
448
|
+
return this.i13((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
449
449
|
};
|
|
450
450
|
protoOf(JsonObject).g = function () {
|
|
451
|
-
return this.
|
|
451
|
+
return this.g13_1.g();
|
|
452
452
|
};
|
|
453
453
|
protoOf(JsonObject).equals = function (other) {
|
|
454
|
-
return equals(this.
|
|
454
|
+
return equals(this.g13_1, other);
|
|
455
455
|
};
|
|
456
456
|
protoOf(JsonObject).hashCode = function () {
|
|
457
|
-
return hashCode(this.
|
|
457
|
+
return hashCode(this.g13_1);
|
|
458
458
|
};
|
|
459
459
|
protoOf(JsonObject).toString = function () {
|
|
460
|
-
var tmp = this.
|
|
460
|
+
var tmp = this.g13_1.u();
|
|
461
461
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
462
462
|
};
|
|
463
463
|
function get_jsonObject(_this__u8e3s4) {
|
|
@@ -485,11 +485,11 @@
|
|
|
485
485
|
JsonElement.call(this);
|
|
486
486
|
}
|
|
487
487
|
protoOf(JsonPrimitive).toString = function () {
|
|
488
|
-
return this.
|
|
488
|
+
return this.j13();
|
|
489
489
|
};
|
|
490
490
|
function get_boolean(_this__u8e3s4) {
|
|
491
491
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
492
|
-
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.
|
|
492
|
+
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.j13());
|
|
493
493
|
var tmp;
|
|
494
494
|
if (tmp0_elvis_lhs == null) {
|
|
495
495
|
throw IllegalStateException_init_$Create$('' + _this__u8e3s4 + ' does not represent a Boolean');
|
|
@@ -510,51 +510,51 @@
|
|
|
510
510
|
function JsonArray(content) {
|
|
511
511
|
Companion_getInstance_8();
|
|
512
512
|
JsonElement.call(this);
|
|
513
|
-
this.
|
|
513
|
+
this.k13_1 = content;
|
|
514
514
|
}
|
|
515
515
|
protoOf(JsonArray).f = function () {
|
|
516
|
-
return this.
|
|
516
|
+
return this.k13_1.f();
|
|
517
517
|
};
|
|
518
|
-
protoOf(JsonArray).
|
|
519
|
-
return this.
|
|
518
|
+
protoOf(JsonArray).l13 = function (element) {
|
|
519
|
+
return this.k13_1.i1(element);
|
|
520
520
|
};
|
|
521
521
|
protoOf(JsonArray).i1 = function (element) {
|
|
522
522
|
if (!(element instanceof JsonElement))
|
|
523
523
|
return false;
|
|
524
|
-
return this.
|
|
524
|
+
return this.l13(element instanceof JsonElement ? element : THROW_CCE());
|
|
525
525
|
};
|
|
526
|
-
protoOf(JsonArray).
|
|
527
|
-
return this.
|
|
526
|
+
protoOf(JsonArray).m13 = function (elements) {
|
|
527
|
+
return this.k13_1.j1(elements);
|
|
528
528
|
};
|
|
529
529
|
protoOf(JsonArray).j1 = function (elements) {
|
|
530
|
-
return this.
|
|
530
|
+
return this.m13(elements);
|
|
531
531
|
};
|
|
532
532
|
protoOf(JsonArray).h = function (index) {
|
|
533
|
-
return this.
|
|
533
|
+
return this.k13_1.h(index);
|
|
534
534
|
};
|
|
535
535
|
protoOf(JsonArray).g = function () {
|
|
536
|
-
return this.
|
|
536
|
+
return this.k13_1.g();
|
|
537
537
|
};
|
|
538
538
|
protoOf(JsonArray).c = function () {
|
|
539
|
-
return this.
|
|
539
|
+
return this.k13_1.c();
|
|
540
540
|
};
|
|
541
541
|
protoOf(JsonArray).p1 = function () {
|
|
542
|
-
return this.
|
|
542
|
+
return this.k13_1.p1();
|
|
543
543
|
};
|
|
544
544
|
protoOf(JsonArray).i = function (index) {
|
|
545
|
-
return this.
|
|
545
|
+
return this.k13_1.i(index);
|
|
546
546
|
};
|
|
547
547
|
protoOf(JsonArray).s = function (fromIndex, toIndex) {
|
|
548
|
-
return this.
|
|
548
|
+
return this.k13_1.s(fromIndex, toIndex);
|
|
549
549
|
};
|
|
550
550
|
protoOf(JsonArray).equals = function (other) {
|
|
551
|
-
return equals(this.
|
|
551
|
+
return equals(this.k13_1, other);
|
|
552
552
|
};
|
|
553
553
|
protoOf(JsonArray).hashCode = function () {
|
|
554
|
-
return hashCode(this.
|
|
554
|
+
return hashCode(this.k13_1);
|
|
555
555
|
};
|
|
556
556
|
protoOf(JsonArray).toString = function () {
|
|
557
|
-
return joinToString(this.
|
|
557
|
+
return joinToString(this.k13_1, ',', '[', ']');
|
|
558
558
|
};
|
|
559
559
|
function error(_this__u8e3s4, element) {
|
|
560
560
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -563,12 +563,12 @@
|
|
|
563
563
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
564
564
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
565
565
|
JsonPrimitive.call(this);
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
569
|
-
if (!(this.
|
|
566
|
+
this.n13_1 = isString;
|
|
567
|
+
this.o13_1 = coerceToInlineType;
|
|
568
|
+
this.p13_1 = toString(body);
|
|
569
|
+
if (!(this.o13_1 == null)) {
|
|
570
570
|
// Inline function 'kotlin.require' call
|
|
571
|
-
var tmp0_require = this.
|
|
571
|
+
var tmp0_require = this.o13_1.sm();
|
|
572
572
|
// Inline function 'kotlin.contracts.contract' call
|
|
573
573
|
// Inline function 'kotlin.require' call
|
|
574
574
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -581,12 +581,12 @@
|
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
protoOf(JsonLiteral).
|
|
585
|
-
return this.
|
|
584
|
+
protoOf(JsonLiteral).j13 = function () {
|
|
585
|
+
return this.p13_1;
|
|
586
586
|
};
|
|
587
587
|
protoOf(JsonLiteral).toString = function () {
|
|
588
588
|
var tmp;
|
|
589
|
-
if (this.
|
|
589
|
+
if (this.n13_1) {
|
|
590
590
|
var tmp$ret$1;
|
|
591
591
|
// Inline function 'kotlin.text.buildString' call
|
|
592
592
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -595,12 +595,12 @@
|
|
|
595
595
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
596
596
|
// Inline function 'kotlin.contracts.contract' call
|
|
597
597
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
598
|
-
printQuoted(tmp0_apply, this.
|
|
598
|
+
printQuoted(tmp0_apply, this.p13_1);
|
|
599
599
|
tmp$ret$0 = tmp0_apply;
|
|
600
600
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
601
601
|
tmp = tmp$ret$1;
|
|
602
602
|
} else {
|
|
603
|
-
tmp = this.
|
|
603
|
+
tmp = this.p13_1;
|
|
604
604
|
}
|
|
605
605
|
return tmp;
|
|
606
606
|
};
|
|
@@ -613,15 +613,15 @@
|
|
|
613
613
|
other;
|
|
614
614
|
else
|
|
615
615
|
THROW_CCE();
|
|
616
|
-
if (!(this.
|
|
616
|
+
if (!(this.n13_1 === other.n13_1))
|
|
617
617
|
return false;
|
|
618
|
-
if (!(this.
|
|
618
|
+
if (!(this.p13_1 === other.p13_1))
|
|
619
619
|
return false;
|
|
620
620
|
return true;
|
|
621
621
|
};
|
|
622
622
|
protoOf(JsonLiteral).hashCode = function () {
|
|
623
|
-
var result = this.
|
|
624
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
623
|
+
var result = this.n13_1 | 0;
|
|
624
|
+
result = imul(31, result) + getStringHashCode(this.p13_1) | 0;
|
|
625
625
|
return result;
|
|
626
626
|
};
|
|
627
627
|
function JsonNull$$cachedSerializer$delegate$_anonymous__7w2ks1() {
|
|
@@ -630,19 +630,19 @@
|
|
|
630
630
|
function JsonNull() {
|
|
631
631
|
JsonNull_instance = this;
|
|
632
632
|
JsonPrimitive.call(this);
|
|
633
|
-
this.
|
|
633
|
+
this.q13_1 = 'null';
|
|
634
634
|
var tmp = this;
|
|
635
635
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
636
|
-
tmp.
|
|
636
|
+
tmp.r13_1 = lazy(tmp_0, JsonNull$$cachedSerializer$delegate$_anonymous__7w2ks1);
|
|
637
637
|
}
|
|
638
|
-
protoOf(JsonNull).
|
|
639
|
-
return this.
|
|
638
|
+
protoOf(JsonNull).j13 = function () {
|
|
639
|
+
return this.q13_1;
|
|
640
640
|
};
|
|
641
|
-
protoOf(JsonNull).
|
|
642
|
-
return this.
|
|
641
|
+
protoOf(JsonNull).s13 = function () {
|
|
642
|
+
return this.r13_1.w();
|
|
643
643
|
};
|
|
644
|
-
protoOf(JsonNull).
|
|
645
|
-
return this.
|
|
644
|
+
protoOf(JsonNull).wu = function (typeParamsSerializers) {
|
|
645
|
+
return this.s13();
|
|
646
646
|
};
|
|
647
647
|
var JsonNull_instance;
|
|
648
648
|
function JsonNull_getInstance() {
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
}
|
|
653
653
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
654
654
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
655
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
655
|
+
return toBooleanStrictOrNull(_this__u8e3s4.j13());
|
|
656
656
|
}
|
|
657
657
|
function JsonPrimitive_0(value) {
|
|
658
658
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -662,17 +662,17 @@
|
|
|
662
662
|
}
|
|
663
663
|
function get_int(_this__u8e3s4) {
|
|
664
664
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
665
|
-
return toInt(_this__u8e3s4.
|
|
665
|
+
return toInt(_this__u8e3s4.j13());
|
|
666
666
|
}
|
|
667
667
|
function get_long(_this__u8e3s4) {
|
|
668
668
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
669
|
-
return toLong(_this__u8e3s4.
|
|
669
|
+
return toLong(_this__u8e3s4.j13());
|
|
670
670
|
}
|
|
671
671
|
function get_float(_this__u8e3s4) {
|
|
672
672
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
673
673
|
var tmp$ret$2;
|
|
674
674
|
// Inline function 'kotlin.text.toFloat' call
|
|
675
|
-
var tmp1_toFloat = _this__u8e3s4.
|
|
675
|
+
var tmp1_toFloat = _this__u8e3s4.j13();
|
|
676
676
|
var tmp$ret$1;
|
|
677
677
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
678
678
|
var tmp0_unsafeCast = toDouble(tmp1_toFloat);
|
|
@@ -685,7 +685,7 @@
|
|
|
685
685
|
}
|
|
686
686
|
function get_double(_this__u8e3s4) {
|
|
687
687
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
688
|
-
return toDouble(_this__u8e3s4.
|
|
688
|
+
return toDouble(_this__u8e3s4.j13());
|
|
689
689
|
}
|
|
690
690
|
function get_contentOrNull(_this__u8e3s4) {
|
|
691
691
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -693,7 +693,7 @@
|
|
|
693
693
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
694
694
|
tmp = null;
|
|
695
695
|
} else {
|
|
696
|
-
tmp = _this__u8e3s4.
|
|
696
|
+
tmp = _this__u8e3s4.j13();
|
|
697
697
|
}
|
|
698
698
|
return tmp;
|
|
699
699
|
}
|
|
@@ -717,40 +717,40 @@
|
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
720
|
-
$this$buildSerialDescriptor.
|
|
721
|
-
$this$buildSerialDescriptor.
|
|
722
|
-
$this$buildSerialDescriptor.
|
|
723
|
-
$this$buildSerialDescriptor.
|
|
724
|
-
$this$buildSerialDescriptor.
|
|
720
|
+
$this$buildSerialDescriptor.yl('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
721
|
+
$this$buildSerialDescriptor.yl('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
722
|
+
$this$buildSerialDescriptor.yl('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
723
|
+
$this$buildSerialDescriptor.yl('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
724
|
+
$this$buildSerialDescriptor.yl('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
725
725
|
return Unit_getInstance();
|
|
726
726
|
}
|
|
727
727
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
728
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
728
|
+
return JsonPrimitiveSerializer_getInstance().t13_1;
|
|
729
729
|
}
|
|
730
730
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
731
|
-
return JsonNullSerializer_getInstance().
|
|
731
|
+
return JsonNullSerializer_getInstance().u13_1;
|
|
732
732
|
}
|
|
733
733
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
734
|
-
return JsonLiteralSerializer_getInstance().
|
|
734
|
+
return JsonLiteralSerializer_getInstance().v13_1;
|
|
735
735
|
}
|
|
736
736
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
737
|
-
return JsonObjectSerializer_getInstance().
|
|
737
|
+
return JsonObjectSerializer_getInstance().w13_1;
|
|
738
738
|
}
|
|
739
739
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
740
|
-
return JsonArraySerializer_getInstance().
|
|
740
|
+
return JsonArraySerializer_getInstance().x13_1;
|
|
741
741
|
}
|
|
742
742
|
function JsonElementSerializer() {
|
|
743
743
|
JsonElementSerializer_instance = this;
|
|
744
744
|
var tmp = this;
|
|
745
745
|
var tmp_0 = SEALED_getInstance();
|
|
746
|
-
tmp.
|
|
746
|
+
tmp.y13_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
747
747
|
}
|
|
748
|
-
protoOf(JsonElementSerializer).
|
|
749
|
-
return this.
|
|
748
|
+
protoOf(JsonElementSerializer).ol = function () {
|
|
749
|
+
return this.y13_1;
|
|
750
750
|
};
|
|
751
|
-
protoOf(JsonElementSerializer).
|
|
751
|
+
protoOf(JsonElementSerializer).pl = function (decoder) {
|
|
752
752
|
var input = asJsonDecoder(decoder);
|
|
753
|
-
return input.
|
|
753
|
+
return input.f13();
|
|
754
754
|
};
|
|
755
755
|
var JsonElementSerializer_instance;
|
|
756
756
|
function JsonElementSerializer_getInstance() {
|
|
@@ -760,41 +760,41 @@
|
|
|
760
760
|
}
|
|
761
761
|
function JsonObjectDescriptor() {
|
|
762
762
|
JsonObjectDescriptor_instance = this;
|
|
763
|
-
this.
|
|
764
|
-
this.
|
|
763
|
+
this.z13_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).ol();
|
|
764
|
+
this.a14_1 = 'kotlinx.serialization.json.JsonObject';
|
|
765
765
|
}
|
|
766
|
-
protoOf(JsonObjectDescriptor).
|
|
767
|
-
return this.
|
|
766
|
+
protoOf(JsonObjectDescriptor).qm = function () {
|
|
767
|
+
return this.z13_1.qm();
|
|
768
768
|
};
|
|
769
|
-
protoOf(JsonObjectDescriptor).
|
|
770
|
-
return this.
|
|
769
|
+
protoOf(JsonObjectDescriptor).rm = function () {
|
|
770
|
+
return this.z13_1.rm();
|
|
771
771
|
};
|
|
772
|
-
protoOf(JsonObjectDescriptor).
|
|
773
|
-
return this.
|
|
772
|
+
protoOf(JsonObjectDescriptor).sm = function () {
|
|
773
|
+
return this.z13_1.sm();
|
|
774
774
|
};
|
|
775
|
-
protoOf(JsonObjectDescriptor).
|
|
776
|
-
return this.
|
|
775
|
+
protoOf(JsonObjectDescriptor).lm = function () {
|
|
776
|
+
return this.z13_1.lm();
|
|
777
777
|
};
|
|
778
|
-
protoOf(JsonObjectDescriptor).
|
|
779
|
-
return this.
|
|
778
|
+
protoOf(JsonObjectDescriptor).tm = function () {
|
|
779
|
+
return this.z13_1.tm();
|
|
780
780
|
};
|
|
781
|
-
protoOf(JsonObjectDescriptor).
|
|
782
|
-
return this.
|
|
781
|
+
protoOf(JsonObjectDescriptor).um = function (index) {
|
|
782
|
+
return this.z13_1.um(index);
|
|
783
783
|
};
|
|
784
|
-
protoOf(JsonObjectDescriptor).
|
|
785
|
-
return this.
|
|
784
|
+
protoOf(JsonObjectDescriptor).vm = function (index) {
|
|
785
|
+
return this.z13_1.vm(index);
|
|
786
786
|
};
|
|
787
|
-
protoOf(JsonObjectDescriptor).
|
|
788
|
-
return this.
|
|
787
|
+
protoOf(JsonObjectDescriptor).wm = function (name) {
|
|
788
|
+
return this.z13_1.wm(name);
|
|
789
789
|
};
|
|
790
|
-
protoOf(JsonObjectDescriptor).
|
|
791
|
-
return this.
|
|
790
|
+
protoOf(JsonObjectDescriptor).xm = function (index) {
|
|
791
|
+
return this.z13_1.xm(index);
|
|
792
792
|
};
|
|
793
|
-
protoOf(JsonObjectDescriptor).
|
|
794
|
-
return this.
|
|
793
|
+
protoOf(JsonObjectDescriptor).ym = function (index) {
|
|
794
|
+
return this.z13_1.ym(index);
|
|
795
795
|
};
|
|
796
|
-
protoOf(JsonObjectDescriptor).
|
|
797
|
-
return this.
|
|
796
|
+
protoOf(JsonObjectDescriptor).pm = function () {
|
|
797
|
+
return this.a14_1;
|
|
798
798
|
};
|
|
799
799
|
var JsonObjectDescriptor_instance;
|
|
800
800
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -804,14 +804,14 @@
|
|
|
804
804
|
}
|
|
805
805
|
function JsonObjectSerializer() {
|
|
806
806
|
JsonObjectSerializer_instance = this;
|
|
807
|
-
this.
|
|
807
|
+
this.w13_1 = JsonObjectDescriptor_getInstance();
|
|
808
808
|
}
|
|
809
|
-
protoOf(JsonObjectSerializer).
|
|
810
|
-
return this.
|
|
809
|
+
protoOf(JsonObjectSerializer).ol = function () {
|
|
810
|
+
return this.w13_1;
|
|
811
811
|
};
|
|
812
|
-
protoOf(JsonObjectSerializer).
|
|
812
|
+
protoOf(JsonObjectSerializer).pl = function (decoder) {
|
|
813
813
|
verify(decoder);
|
|
814
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
814
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).pl(decoder));
|
|
815
815
|
};
|
|
816
816
|
var JsonObjectSerializer_instance;
|
|
817
817
|
function JsonObjectSerializer_getInstance() {
|
|
@@ -821,13 +821,13 @@
|
|
|
821
821
|
}
|
|
822
822
|
function JsonPrimitiveSerializer() {
|
|
823
823
|
JsonPrimitiveSerializer_instance = this;
|
|
824
|
-
this.
|
|
824
|
+
this.t13_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
825
825
|
}
|
|
826
|
-
protoOf(JsonPrimitiveSerializer).
|
|
827
|
-
return this.
|
|
826
|
+
protoOf(JsonPrimitiveSerializer).ol = function () {
|
|
827
|
+
return this.t13_1;
|
|
828
828
|
};
|
|
829
|
-
protoOf(JsonPrimitiveSerializer).
|
|
830
|
-
var result = asJsonDecoder(decoder).
|
|
829
|
+
protoOf(JsonPrimitiveSerializer).pl = function (decoder) {
|
|
830
|
+
var result = asJsonDecoder(decoder).f13();
|
|
831
831
|
if (!(result instanceof JsonPrimitive))
|
|
832
832
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
833
833
|
return result;
|
|
@@ -840,41 +840,41 @@
|
|
|
840
840
|
}
|
|
841
841
|
function JsonArrayDescriptor() {
|
|
842
842
|
JsonArrayDescriptor_instance = this;
|
|
843
|
-
this.
|
|
844
|
-
this.
|
|
843
|
+
this.b14_1 = ListSerializer(JsonElementSerializer_getInstance()).ol();
|
|
844
|
+
this.c14_1 = 'kotlinx.serialization.json.JsonArray';
|
|
845
845
|
}
|
|
846
|
-
protoOf(JsonArrayDescriptor).
|
|
847
|
-
return this.
|
|
846
|
+
protoOf(JsonArrayDescriptor).qm = function () {
|
|
847
|
+
return this.b14_1.qm();
|
|
848
848
|
};
|
|
849
|
-
protoOf(JsonArrayDescriptor).
|
|
850
|
-
return this.
|
|
849
|
+
protoOf(JsonArrayDescriptor).rm = function () {
|
|
850
|
+
return this.b14_1.rm();
|
|
851
851
|
};
|
|
852
|
-
protoOf(JsonArrayDescriptor).
|
|
853
|
-
return this.
|
|
852
|
+
protoOf(JsonArrayDescriptor).sm = function () {
|
|
853
|
+
return this.b14_1.sm();
|
|
854
854
|
};
|
|
855
|
-
protoOf(JsonArrayDescriptor).
|
|
856
|
-
return this.
|
|
855
|
+
protoOf(JsonArrayDescriptor).lm = function () {
|
|
856
|
+
return this.b14_1.lm();
|
|
857
857
|
};
|
|
858
|
-
protoOf(JsonArrayDescriptor).
|
|
859
|
-
return this.
|
|
858
|
+
protoOf(JsonArrayDescriptor).tm = function () {
|
|
859
|
+
return this.b14_1.tm();
|
|
860
860
|
};
|
|
861
|
-
protoOf(JsonArrayDescriptor).
|
|
862
|
-
return this.
|
|
861
|
+
protoOf(JsonArrayDescriptor).um = function (index) {
|
|
862
|
+
return this.b14_1.um(index);
|
|
863
863
|
};
|
|
864
|
-
protoOf(JsonArrayDescriptor).
|
|
865
|
-
return this.
|
|
864
|
+
protoOf(JsonArrayDescriptor).vm = function (index) {
|
|
865
|
+
return this.b14_1.vm(index);
|
|
866
866
|
};
|
|
867
|
-
protoOf(JsonArrayDescriptor).
|
|
868
|
-
return this.
|
|
867
|
+
protoOf(JsonArrayDescriptor).wm = function (name) {
|
|
868
|
+
return this.b14_1.wm(name);
|
|
869
869
|
};
|
|
870
|
-
protoOf(JsonArrayDescriptor).
|
|
871
|
-
return this.
|
|
870
|
+
protoOf(JsonArrayDescriptor).xm = function (index) {
|
|
871
|
+
return this.b14_1.xm(index);
|
|
872
872
|
};
|
|
873
|
-
protoOf(JsonArrayDescriptor).
|
|
874
|
-
return this.
|
|
873
|
+
protoOf(JsonArrayDescriptor).ym = function (index) {
|
|
874
|
+
return this.b14_1.ym(index);
|
|
875
875
|
};
|
|
876
|
-
protoOf(JsonArrayDescriptor).
|
|
877
|
-
return this.
|
|
876
|
+
protoOf(JsonArrayDescriptor).pm = function () {
|
|
877
|
+
return this.c14_1;
|
|
878
878
|
};
|
|
879
879
|
var JsonArrayDescriptor_instance;
|
|
880
880
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -884,14 +884,14 @@
|
|
|
884
884
|
}
|
|
885
885
|
function JsonArraySerializer() {
|
|
886
886
|
JsonArraySerializer_instance = this;
|
|
887
|
-
this.
|
|
887
|
+
this.x13_1 = JsonArrayDescriptor_getInstance();
|
|
888
888
|
}
|
|
889
|
-
protoOf(JsonArraySerializer).
|
|
890
|
-
return this.
|
|
889
|
+
protoOf(JsonArraySerializer).ol = function () {
|
|
890
|
+
return this.x13_1;
|
|
891
891
|
};
|
|
892
|
-
protoOf(JsonArraySerializer).
|
|
892
|
+
protoOf(JsonArraySerializer).pl = function (decoder) {
|
|
893
893
|
verify(decoder);
|
|
894
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
894
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).pl(decoder));
|
|
895
895
|
};
|
|
896
896
|
var JsonArraySerializer_instance;
|
|
897
897
|
function JsonArraySerializer_getInstance() {
|
|
@@ -901,17 +901,17 @@
|
|
|
901
901
|
}
|
|
902
902
|
function JsonNullSerializer() {
|
|
903
903
|
JsonNullSerializer_instance = this;
|
|
904
|
-
this.
|
|
904
|
+
this.u13_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
905
905
|
}
|
|
906
|
-
protoOf(JsonNullSerializer).
|
|
907
|
-
return this.
|
|
906
|
+
protoOf(JsonNullSerializer).ol = function () {
|
|
907
|
+
return this.u13_1;
|
|
908
908
|
};
|
|
909
|
-
protoOf(JsonNullSerializer).
|
|
909
|
+
protoOf(JsonNullSerializer).pl = function (decoder) {
|
|
910
910
|
verify(decoder);
|
|
911
|
-
if (decoder.
|
|
911
|
+
if (decoder.xn()) {
|
|
912
912
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
913
913
|
}
|
|
914
|
-
decoder.
|
|
914
|
+
decoder.yn();
|
|
915
915
|
return JsonNull_getInstance();
|
|
916
916
|
};
|
|
917
917
|
var JsonNullSerializer_instance;
|
|
@@ -925,13 +925,13 @@
|
|
|
925
925
|
}
|
|
926
926
|
function JsonLiteralSerializer() {
|
|
927
927
|
JsonLiteralSerializer_instance = this;
|
|
928
|
-
this.
|
|
928
|
+
this.v13_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
929
929
|
}
|
|
930
|
-
protoOf(JsonLiteralSerializer).
|
|
931
|
-
return this.
|
|
930
|
+
protoOf(JsonLiteralSerializer).ol = function () {
|
|
931
|
+
return this.v13_1;
|
|
932
932
|
};
|
|
933
|
-
protoOf(JsonLiteralSerializer).
|
|
934
|
-
var result = asJsonDecoder(decoder).
|
|
933
|
+
protoOf(JsonLiteralSerializer).pl = function (decoder) {
|
|
934
|
+
var result = asJsonDecoder(decoder).f13();
|
|
935
935
|
if (!(result instanceof JsonLiteral))
|
|
936
936
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
937
937
|
return result;
|
|
@@ -959,35 +959,35 @@
|
|
|
959
959
|
var tmp$ret$0;
|
|
960
960
|
// Inline function 'kotlin.getValue' call
|
|
961
961
|
var tmp0_getValue = original$factory();
|
|
962
|
-
tmp$ret$0 = $this.
|
|
962
|
+
tmp$ret$0 = $this.d14_1.w();
|
|
963
963
|
return tmp$ret$0;
|
|
964
964
|
}
|
|
965
965
|
function defer$1($deferred) {
|
|
966
|
-
this.
|
|
966
|
+
this.d14_1 = lazy_0($deferred);
|
|
967
967
|
}
|
|
968
|
-
protoOf(defer$1).
|
|
969
|
-
return _get_original__l7ku1m(this).
|
|
968
|
+
protoOf(defer$1).pm = function () {
|
|
969
|
+
return _get_original__l7ku1m(this).pm();
|
|
970
970
|
};
|
|
971
|
-
protoOf(defer$1).
|
|
972
|
-
return _get_original__l7ku1m(this).
|
|
971
|
+
protoOf(defer$1).tm = function () {
|
|
972
|
+
return _get_original__l7ku1m(this).tm();
|
|
973
973
|
};
|
|
974
|
-
protoOf(defer$1).
|
|
975
|
-
return _get_original__l7ku1m(this).
|
|
974
|
+
protoOf(defer$1).rm = function () {
|
|
975
|
+
return _get_original__l7ku1m(this).rm();
|
|
976
976
|
};
|
|
977
|
-
protoOf(defer$1).
|
|
978
|
-
return _get_original__l7ku1m(this).
|
|
977
|
+
protoOf(defer$1).xm = function (index) {
|
|
978
|
+
return _get_original__l7ku1m(this).xm(index);
|
|
979
979
|
};
|
|
980
|
-
protoOf(defer$1).
|
|
981
|
-
return _get_original__l7ku1m(this).
|
|
980
|
+
protoOf(defer$1).wm = function (name) {
|
|
981
|
+
return _get_original__l7ku1m(this).wm(name);
|
|
982
982
|
};
|
|
983
|
-
protoOf(defer$1).
|
|
984
|
-
return _get_original__l7ku1m(this).
|
|
983
|
+
protoOf(defer$1).um = function (index) {
|
|
984
|
+
return _get_original__l7ku1m(this).um(index);
|
|
985
985
|
};
|
|
986
|
-
protoOf(defer$1).
|
|
987
|
-
return _get_original__l7ku1m(this).
|
|
986
|
+
protoOf(defer$1).vm = function (index) {
|
|
987
|
+
return _get_original__l7ku1m(this).vm(index);
|
|
988
988
|
};
|
|
989
|
-
protoOf(defer$1).
|
|
990
|
-
return _get_original__l7ku1m(this).
|
|
989
|
+
protoOf(defer$1).ym = function (index) {
|
|
990
|
+
return _get_original__l7ku1m(this).ym(index);
|
|
991
991
|
};
|
|
992
992
|
function original$factory() {
|
|
993
993
|
return getPropertyCallableRef('original', 1, KProperty1, function (receiver) {
|
|
@@ -995,8 +995,8 @@
|
|
|
995
995
|
}, null);
|
|
996
996
|
}
|
|
997
997
|
function readIfAbsent($this, descriptor, index) {
|
|
998
|
-
$this.
|
|
999
|
-
return $this.
|
|
998
|
+
$this.f14_1 = !descriptor.ym(index) ? descriptor.vm(index).lm() : false;
|
|
999
|
+
return $this.f14_1;
|
|
1000
1000
|
}
|
|
1001
1001
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1002
1002
|
var l = function (p0, p1) {
|
|
@@ -1007,14 +1007,14 @@
|
|
|
1007
1007
|
}
|
|
1008
1008
|
function JsonElementMarker(descriptor) {
|
|
1009
1009
|
var tmp = this;
|
|
1010
|
-
tmp.
|
|
1011
|
-
this.
|
|
1010
|
+
tmp.e14_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1011
|
+
this.f14_1 = false;
|
|
1012
1012
|
}
|
|
1013
|
-
protoOf(JsonElementMarker).
|
|
1014
|
-
this.
|
|
1013
|
+
protoOf(JsonElementMarker).ps = function (index) {
|
|
1014
|
+
this.e14_1.ps(index);
|
|
1015
1015
|
};
|
|
1016
|
-
protoOf(JsonElementMarker).
|
|
1017
|
-
return this.
|
|
1016
|
+
protoOf(JsonElementMarker).qs = function () {
|
|
1017
|
+
return this.e14_1.qs();
|
|
1018
1018
|
};
|
|
1019
1019
|
function JsonDecodingException(message) {
|
|
1020
1020
|
JsonException.call(this, message);
|
|
@@ -1056,14 +1056,14 @@
|
|
|
1056
1056
|
return prefix + tmp$ret$1 + suffix;
|
|
1057
1057
|
}
|
|
1058
1058
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1059
|
-
_this__u8e3s4.
|
|
1059
|
+
_this__u8e3s4.g14('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());
|
|
1060
1060
|
}
|
|
1061
1061
|
function JsonEncodingException(message) {
|
|
1062
1062
|
JsonException.call(this, message);
|
|
1063
1063
|
captureStack(this, JsonEncodingException);
|
|
1064
1064
|
}
|
|
1065
1065
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1066
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
1066
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.pm() + "' 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.tm() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1067
1067
|
}
|
|
1068
1068
|
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1069
1069
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
@@ -1085,11 +1085,11 @@
|
|
|
1085
1085
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1086
1086
|
if (!(strategy == null))
|
|
1087
1087
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1088
|
-
var index = _this__u8e3s4.
|
|
1088
|
+
var index = _this__u8e3s4.wm(name);
|
|
1089
1089
|
Companion_getInstance();
|
|
1090
1090
|
if (!(index === -3))
|
|
1091
1091
|
return index;
|
|
1092
|
-
if (!json.
|
|
1092
|
+
if (!json.l11_1.c13_1)
|
|
1093
1093
|
return index;
|
|
1094
1094
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1095
1095
|
}
|
|
@@ -1099,18 +1099,18 @@
|
|
|
1099
1099
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1100
1100
|
Companion_getInstance();
|
|
1101
1101
|
if (index === -3)
|
|
1102
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1102
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.pm() + " does not contain element with name '" + name + "'" + suffix);
|
|
1103
1103
|
return index;
|
|
1104
1104
|
}
|
|
1105
1105
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1106
1106
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1107
|
-
return equals(_this__u8e3s4.
|
|
1107
|
+
return equals(_this__u8e3s4.tm(), CLASS_getInstance()) ? json.l11_1.d13_1 : null;
|
|
1108
1108
|
}
|
|
1109
1109
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1110
1110
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1111
1111
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1112
1112
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1113
|
-
return tmp.
|
|
1113
|
+
return tmp.i14(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1114
1114
|
}
|
|
1115
1115
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1116
1116
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1120,14 +1120,14 @@
|
|
|
1120
1120
|
var builder = tmp$ret$0;
|
|
1121
1121
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1122
1122
|
var inductionVariable = 0;
|
|
1123
|
-
var last = _this__u8e3s4.
|
|
1123
|
+
var last = _this__u8e3s4.rm();
|
|
1124
1124
|
if (inductionVariable < last)
|
|
1125
1125
|
do {
|
|
1126
1126
|
var i = inductionVariable;
|
|
1127
1127
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1128
1128
|
var tmp$ret$2;
|
|
1129
1129
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1130
|
-
var tmp1_filterIsInstance = _this__u8e3s4.
|
|
1130
|
+
var tmp1_filterIsInstance = _this__u8e3s4.um(i);
|
|
1131
1131
|
var tmp$ret$1;
|
|
1132
1132
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1133
1133
|
var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
|
|
@@ -1141,7 +1141,7 @@
|
|
|
1141
1141
|
tmp$ret$1 = tmp0_filterIsInstanceTo;
|
|
1142
1142
|
tmp$ret$2 = tmp$ret$1;
|
|
1143
1143
|
var tmp1_safe_receiver = singleOrNull(tmp$ret$2);
|
|
1144
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1144
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.j14_1;
|
|
1145
1145
|
if (tmp2_safe_receiver == null)
|
|
1146
1146
|
null;
|
|
1147
1147
|
else {
|
|
@@ -1160,7 +1160,7 @@
|
|
|
1160
1160
|
var tmp$ret$3;
|
|
1161
1161
|
// Inline function 'kotlin.let' call
|
|
1162
1162
|
// Inline function 'kotlin.contracts.contract' call
|
|
1163
|
-
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp3_safe_receiver.
|
|
1163
|
+
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp3_safe_receiver.k14(_this__u8e3s4, i, _this__u8e3s4.xm(i)), i);
|
|
1164
1164
|
tmp$ret$3 = Unit_getInstance();
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
@@ -1198,7 +1198,7 @@
|
|
|
1198
1198
|
tmp$ret$0 = (isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).i2(name);
|
|
1199
1199
|
tmp$ret$1 = tmp$ret$0;
|
|
1200
1200
|
if (tmp$ret$1) {
|
|
1201
|
-
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.
|
|
1201
|
+
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.xm(index) + ' is already one of the names for property ' + ($this_buildDeserializationNamesMap.xm(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildDeserializationNamesMap));
|
|
1202
1202
|
}
|
|
1203
1203
|
// Inline function 'kotlin.collections.set' call
|
|
1204
1204
|
_this__u8e3s4.k3(name, index);
|
|
@@ -1227,16 +1227,16 @@
|
|
|
1227
1227
|
return Tombstone_instance;
|
|
1228
1228
|
}
|
|
1229
1229
|
function resize($this) {
|
|
1230
|
-
var newSize = imul($this.
|
|
1231
|
-
$this.
|
|
1232
|
-
$this.
|
|
1230
|
+
var newSize = imul($this.n14_1, 2);
|
|
1231
|
+
$this.l14_1 = copyOf($this.l14_1, newSize);
|
|
1232
|
+
$this.m14_1 = copyOf_0($this.m14_1, newSize);
|
|
1233
1233
|
}
|
|
1234
1234
|
function JsonPath() {
|
|
1235
1235
|
var tmp = this;
|
|
1236
1236
|
var tmp$ret$0;
|
|
1237
1237
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1238
1238
|
tmp$ret$0 = fillArrayVal(Array(8), null);
|
|
1239
|
-
tmp.
|
|
1239
|
+
tmp.l14_1 = tmp$ret$0;
|
|
1240
1240
|
var tmp_0 = this;
|
|
1241
1241
|
var tmp_1 = 0;
|
|
1242
1242
|
var tmp_2 = 8;
|
|
@@ -1249,56 +1249,56 @@
|
|
|
1249
1249
|
tmp_3[tmp_4] = tmp$ret$1;
|
|
1250
1250
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1251
1251
|
}
|
|
1252
|
-
tmp_0.
|
|
1253
|
-
this.
|
|
1252
|
+
tmp_0.m14_1 = tmp_3;
|
|
1253
|
+
this.n14_1 = -1;
|
|
1254
1254
|
}
|
|
1255
|
-
protoOf(JsonPath).
|
|
1255
|
+
protoOf(JsonPath).o14 = function (sd) {
|
|
1256
1256
|
var tmp0_this = this;
|
|
1257
|
-
tmp0_this.
|
|
1258
|
-
var depth = tmp0_this.
|
|
1259
|
-
if (depth === this.
|
|
1257
|
+
tmp0_this.n14_1 = tmp0_this.n14_1 + 1 | 0;
|
|
1258
|
+
var depth = tmp0_this.n14_1;
|
|
1259
|
+
if (depth === this.l14_1.length) {
|
|
1260
1260
|
resize(this);
|
|
1261
1261
|
}
|
|
1262
|
-
this.
|
|
1262
|
+
this.l14_1[depth] = sd;
|
|
1263
1263
|
};
|
|
1264
|
-
protoOf(JsonPath).
|
|
1265
|
-
this.
|
|
1264
|
+
protoOf(JsonPath).p14 = function (index) {
|
|
1265
|
+
this.m14_1[this.n14_1] = index;
|
|
1266
1266
|
};
|
|
1267
|
-
protoOf(JsonPath).
|
|
1267
|
+
protoOf(JsonPath).q14 = function (key) {
|
|
1268
1268
|
var tmp;
|
|
1269
|
-
if (!(this.
|
|
1269
|
+
if (!(this.m14_1[this.n14_1] === -2)) {
|
|
1270
1270
|
var tmp0_this = this;
|
|
1271
|
-
tmp0_this.
|
|
1272
|
-
tmp = tmp0_this.
|
|
1271
|
+
tmp0_this.n14_1 = tmp0_this.n14_1 + 1 | 0;
|
|
1272
|
+
tmp = tmp0_this.n14_1 === this.l14_1.length;
|
|
1273
1273
|
} else {
|
|
1274
1274
|
tmp = false;
|
|
1275
1275
|
}
|
|
1276
1276
|
if (tmp) {
|
|
1277
1277
|
resize(this);
|
|
1278
1278
|
}
|
|
1279
|
-
this.
|
|
1280
|
-
this.
|
|
1279
|
+
this.l14_1[this.n14_1] = key;
|
|
1280
|
+
this.m14_1[this.n14_1] = -2;
|
|
1281
1281
|
};
|
|
1282
|
-
protoOf(JsonPath).
|
|
1283
|
-
if (this.
|
|
1284
|
-
this.
|
|
1282
|
+
protoOf(JsonPath).r14 = function () {
|
|
1283
|
+
if (this.m14_1[this.n14_1] === -2) {
|
|
1284
|
+
this.l14_1[this.n14_1] = Tombstone_getInstance();
|
|
1285
1285
|
}
|
|
1286
1286
|
};
|
|
1287
|
-
protoOf(JsonPath).
|
|
1288
|
-
var depth = this.
|
|
1289
|
-
if (this.
|
|
1290
|
-
this.
|
|
1287
|
+
protoOf(JsonPath).s14 = function () {
|
|
1288
|
+
var depth = this.n14_1;
|
|
1289
|
+
if (this.m14_1[depth] === -2) {
|
|
1290
|
+
this.m14_1[depth] = -1;
|
|
1291
1291
|
var tmp0_this = this;
|
|
1292
|
-
var tmp1 = tmp0_this.
|
|
1293
|
-
tmp0_this.
|
|
1292
|
+
var tmp1 = tmp0_this.n14_1;
|
|
1293
|
+
tmp0_this.n14_1 = tmp1 - 1 | 0;
|
|
1294
1294
|
}
|
|
1295
|
-
if (!(this.
|
|
1295
|
+
if (!(this.n14_1 === -1)) {
|
|
1296
1296
|
var tmp2_this = this;
|
|
1297
|
-
var tmp3 = tmp2_this.
|
|
1298
|
-
tmp2_this.
|
|
1297
|
+
var tmp3 = tmp2_this.n14_1;
|
|
1298
|
+
tmp2_this.n14_1 = tmp3 - 1 | 0;
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
|
-
protoOf(JsonPath).
|
|
1301
|
+
protoOf(JsonPath).t14 = function () {
|
|
1302
1302
|
var tmp$ret$1;
|
|
1303
1303
|
// Inline function 'kotlin.text.buildString' call
|
|
1304
1304
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1309,7 +1309,7 @@
|
|
|
1309
1309
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1310
1310
|
tmp0_apply.y5('$');
|
|
1311
1311
|
// Inline function 'kotlin.repeat' call
|
|
1312
|
-
var tmp0_repeat = this.
|
|
1312
|
+
var tmp0_repeat = this.n14_1 + 1 | 0;
|
|
1313
1313
|
// Inline function 'kotlin.contracts.contract' call
|
|
1314
1314
|
var inductionVariable = 0;
|
|
1315
1315
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1317,19 +1317,19 @@
|
|
|
1317
1317
|
var index = inductionVariable;
|
|
1318
1318
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1319
1319
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1320
|
-
var element = this.
|
|
1320
|
+
var element = this.l14_1[index];
|
|
1321
1321
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1322
|
-
if (equals(element.
|
|
1323
|
-
if (!(this.
|
|
1322
|
+
if (equals(element.tm(), LIST_getInstance())) {
|
|
1323
|
+
if (!(this.m14_1[index] === -1)) {
|
|
1324
1324
|
tmp0_apply.y5('[');
|
|
1325
|
-
tmp0_apply.x5(this.
|
|
1325
|
+
tmp0_apply.x5(this.m14_1[index]);
|
|
1326
1326
|
tmp0_apply.y5(']');
|
|
1327
1327
|
}
|
|
1328
1328
|
} else {
|
|
1329
|
-
var idx = this.
|
|
1329
|
+
var idx = this.m14_1[index];
|
|
1330
1330
|
if (idx >= 0) {
|
|
1331
1331
|
tmp0_apply.y5('.');
|
|
1332
|
-
tmp0_apply.y5(element.
|
|
1332
|
+
tmp0_apply.y5(element.xm(idx));
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
1335
|
} else {
|
|
@@ -1348,42 +1348,42 @@
|
|
|
1348
1348
|
return tmp$ret$1;
|
|
1349
1349
|
};
|
|
1350
1350
|
protoOf(JsonPath).toString = function () {
|
|
1351
|
-
return this.
|
|
1351
|
+
return this.t14();
|
|
1352
1352
|
};
|
|
1353
1353
|
function readObject($this) {
|
|
1354
1354
|
var tmp$ret$2;
|
|
1355
1355
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1356
|
-
var lastToken = $this.
|
|
1357
|
-
if ($this.
|
|
1358
|
-
$this.
|
|
1356
|
+
var lastToken = $this.u14_1.x14(get_TC_BEGIN_OBJ());
|
|
1357
|
+
if ($this.u14_1.y14() === get_TC_COMMA()) {
|
|
1358
|
+
$this.u14_1.g14('Unexpected leading comma');
|
|
1359
1359
|
}
|
|
1360
1360
|
var tmp$ret$0;
|
|
1361
1361
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1362
1362
|
tmp$ret$0 = LinkedHashMap_init_$Create$();
|
|
1363
1363
|
var result = tmp$ret$0;
|
|
1364
|
-
$l$loop: while ($this.
|
|
1365
|
-
var key = $this.
|
|
1366
|
-
$this.
|
|
1364
|
+
$l$loop: while ($this.u14_1.z14()) {
|
|
1365
|
+
var key = $this.v14_1 ? $this.u14_1.b15() : $this.u14_1.a15();
|
|
1366
|
+
$this.u14_1.x14(get_TC_COLON());
|
|
1367
1367
|
var tmp$ret$1;
|
|
1368
1368
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1369
|
-
tmp$ret$1 = $this.
|
|
1369
|
+
tmp$ret$1 = $this.c15();
|
|
1370
1370
|
var element = tmp$ret$1;
|
|
1371
1371
|
// Inline function 'kotlin.collections.set' call
|
|
1372
1372
|
result.k3(key, element);
|
|
1373
|
-
lastToken = $this.
|
|
1373
|
+
lastToken = $this.u14_1.d15();
|
|
1374
1374
|
var tmp0_subject = lastToken;
|
|
1375
1375
|
if (tmp0_subject === get_TC_COMMA())
|
|
1376
1376
|
;
|
|
1377
1377
|
else if (tmp0_subject === get_TC_END_OBJ())
|
|
1378
1378
|
break $l$loop;
|
|
1379
1379
|
else {
|
|
1380
|
-
$this.
|
|
1380
|
+
$this.u14_1.g14('Expected end of the object or comma');
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
1383
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1384
|
-
$this.
|
|
1384
|
+
$this.u14_1.x14(get_TC_END_OBJ());
|
|
1385
1385
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1386
|
-
$this.
|
|
1386
|
+
$this.u14_1.g14('Unexpected trailing comma');
|
|
1387
1387
|
}
|
|
1388
1388
|
tmp$ret$2 = new JsonObject(result);
|
|
1389
1389
|
return tmp$ret$2;
|
|
@@ -1395,44 +1395,44 @@
|
|
|
1395
1395
|
return tmp.bg();
|
|
1396
1396
|
}
|
|
1397
1397
|
function readArray($this) {
|
|
1398
|
-
var lastToken = $this.
|
|
1399
|
-
if ($this.
|
|
1400
|
-
$this.
|
|
1398
|
+
var lastToken = $this.u14_1.d15();
|
|
1399
|
+
if ($this.u14_1.y14() === get_TC_COMMA()) {
|
|
1400
|
+
$this.u14_1.g14('Unexpected leading comma');
|
|
1401
1401
|
}
|
|
1402
1402
|
var tmp$ret$0;
|
|
1403
1403
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1404
1404
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
1405
1405
|
var result = tmp$ret$0;
|
|
1406
|
-
while ($this.
|
|
1407
|
-
var element = $this.
|
|
1406
|
+
while ($this.u14_1.z14()) {
|
|
1407
|
+
var element = $this.c15();
|
|
1408
1408
|
result.a(element);
|
|
1409
|
-
lastToken = $this.
|
|
1409
|
+
lastToken = $this.u14_1.d15();
|
|
1410
1410
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1411
1411
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1412
|
-
var tmp0_require = $this.
|
|
1412
|
+
var tmp0_require = $this.u14_1;
|
|
1413
1413
|
var tmp1_require = lastToken === get_TC_END_LIST();
|
|
1414
|
-
var tmp2_require = tmp0_require.
|
|
1414
|
+
var tmp2_require = tmp0_require.y11_1;
|
|
1415
1415
|
if (!tmp1_require) {
|
|
1416
1416
|
var tmp$ret$1;
|
|
1417
1417
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1418
1418
|
tmp$ret$1 = 'Expected end of the array or comma';
|
|
1419
|
-
tmp0_require.
|
|
1419
|
+
tmp0_require.g14(tmp$ret$1, tmp2_require);
|
|
1420
1420
|
}
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
1423
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1424
|
-
$this.
|
|
1424
|
+
$this.u14_1.x14(get_TC_END_LIST());
|
|
1425
1425
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1426
|
-
$this.
|
|
1426
|
+
$this.u14_1.g14('Unexpected trailing comma');
|
|
1427
1427
|
}
|
|
1428
1428
|
return new JsonArray(result);
|
|
1429
1429
|
}
|
|
1430
1430
|
function readValue($this, isString) {
|
|
1431
1431
|
var tmp;
|
|
1432
|
-
if ($this.
|
|
1433
|
-
tmp = $this.
|
|
1432
|
+
if ($this.v14_1 ? true : !isString) {
|
|
1433
|
+
tmp = $this.u14_1.b15();
|
|
1434
1434
|
} else {
|
|
1435
|
-
tmp = $this.
|
|
1435
|
+
tmp = $this.u14_1.a15();
|
|
1436
1436
|
}
|
|
1437
1437
|
var string = tmp;
|
|
1438
1438
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1443,18 +1443,18 @@
|
|
|
1443
1443
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance());
|
|
1444
1444
|
}
|
|
1445
1445
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1446
|
-
this.
|
|
1446
|
+
this.z15_1 = this$0;
|
|
1447
1447
|
CoroutineImpl.call(this, resultContinuation);
|
|
1448
1448
|
}
|
|
1449
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1450
|
-
var tmp = this.
|
|
1449
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).e16 = function ($this$$receiver, it, $completion) {
|
|
1450
|
+
var tmp = this.f16($this$$receiver, it, $completion);
|
|
1451
1451
|
tmp.vf_1 = Unit_getInstance();
|
|
1452
1452
|
tmp.wf_1 = null;
|
|
1453
1453
|
return tmp.bg();
|
|
1454
1454
|
};
|
|
1455
1455
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).m6 = function (p1, p2, $completion) {
|
|
1456
1456
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1457
|
-
return this.
|
|
1457
|
+
return this.e16(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1458
1458
|
};
|
|
1459
1459
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).bg = function () {
|
|
1460
1460
|
var suspendResult = this.vf_1;
|
|
@@ -1464,32 +1464,32 @@
|
|
|
1464
1464
|
switch (tmp) {
|
|
1465
1465
|
case 0:
|
|
1466
1466
|
this.uf_1 = 3;
|
|
1467
|
-
this.
|
|
1468
|
-
if (this.
|
|
1469
|
-
this.
|
|
1467
|
+
this.c16_1 = this.z15_1.u14_1.y14();
|
|
1468
|
+
if (this.c16_1 === get_TC_STRING()) {
|
|
1469
|
+
this.d16_1 = readValue(this.z15_1, true);
|
|
1470
1470
|
this.tf_1 = 2;
|
|
1471
1471
|
continue $sm;
|
|
1472
1472
|
} else {
|
|
1473
|
-
if (this.
|
|
1474
|
-
this.
|
|
1473
|
+
if (this.c16_1 === get_TC_OTHER()) {
|
|
1474
|
+
this.d16_1 = readValue(this.z15_1, false);
|
|
1475
1475
|
this.tf_1 = 2;
|
|
1476
1476
|
continue $sm;
|
|
1477
1477
|
} else {
|
|
1478
|
-
if (this.
|
|
1478
|
+
if (this.c16_1 === get_TC_BEGIN_OBJ()) {
|
|
1479
1479
|
this.tf_1 = 1;
|
|
1480
|
-
suspendResult = readObject_0(this.
|
|
1480
|
+
suspendResult = readObject_0(this.a16_1, this.z15_1, this);
|
|
1481
1481
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1482
1482
|
return suspendResult;
|
|
1483
1483
|
}
|
|
1484
1484
|
continue $sm;
|
|
1485
1485
|
} else {
|
|
1486
|
-
if (this.
|
|
1487
|
-
this.
|
|
1486
|
+
if (this.c16_1 === get_TC_BEGIN_LIST()) {
|
|
1487
|
+
this.d16_1 = readArray(this.z15_1);
|
|
1488
1488
|
this.tf_1 = 2;
|
|
1489
1489
|
continue $sm;
|
|
1490
1490
|
} else {
|
|
1491
1491
|
var tmp_0 = this;
|
|
1492
|
-
this.
|
|
1492
|
+
this.z15_1.u14_1.g14("Can't begin reading element, unexpected token");
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
|
@@ -1497,11 +1497,11 @@
|
|
|
1497
1497
|
|
|
1498
1498
|
break;
|
|
1499
1499
|
case 1:
|
|
1500
|
-
this.
|
|
1500
|
+
this.d16_1 = suspendResult;
|
|
1501
1501
|
this.tf_1 = 2;
|
|
1502
1502
|
continue $sm;
|
|
1503
1503
|
case 2:
|
|
1504
|
-
return this.
|
|
1504
|
+
return this.d16_1;
|
|
1505
1505
|
case 3:
|
|
1506
1506
|
throw this.wf_1;
|
|
1507
1507
|
}
|
|
@@ -1516,24 +1516,24 @@
|
|
|
1516
1516
|
}
|
|
1517
1517
|
while (true);
|
|
1518
1518
|
};
|
|
1519
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1520
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1521
|
-
i.
|
|
1522
|
-
i.
|
|
1519
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).f16 = function ($this$$receiver, it, completion) {
|
|
1520
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.z15_1, completion);
|
|
1521
|
+
i.a16_1 = $this$$receiver;
|
|
1522
|
+
i.b16_1 = it;
|
|
1523
1523
|
return i;
|
|
1524
1524
|
};
|
|
1525
1525
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1526
1526
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1527
1527
|
var l = function ($this$$receiver, it, $completion) {
|
|
1528
|
-
return i.
|
|
1528
|
+
return i.e16($this$$receiver, it, $completion);
|
|
1529
1529
|
};
|
|
1530
1530
|
l.$arity = 2;
|
|
1531
1531
|
return l;
|
|
1532
1532
|
}
|
|
1533
1533
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1534
1534
|
CoroutineImpl.call(this, resultContinuation);
|
|
1535
|
-
this.
|
|
1536
|
-
this.
|
|
1535
|
+
this.m15_1 = _this__u8e3s4;
|
|
1536
|
+
this.n15_1 = _this__u8e3s4_0;
|
|
1537
1537
|
}
|
|
1538
1538
|
protoOf($readObjectCOROUTINE$0).bg = function () {
|
|
1539
1539
|
var suspendResult = this.vf_1;
|
|
@@ -1543,26 +1543,26 @@
|
|
|
1543
1543
|
switch (tmp) {
|
|
1544
1544
|
case 0:
|
|
1545
1545
|
this.uf_1 = 5;
|
|
1546
|
-
this.
|
|
1547
|
-
if (this.
|
|
1548
|
-
this.
|
|
1546
|
+
this.o15_1 = this.m15_1.u14_1.x14(get_TC_BEGIN_OBJ());
|
|
1547
|
+
if (this.m15_1.u14_1.y14() === get_TC_COMMA()) {
|
|
1548
|
+
this.m15_1.u14_1.g14('Unexpected leading comma');
|
|
1549
1549
|
}
|
|
1550
1550
|
|
|
1551
1551
|
var tmp_0 = this;
|
|
1552
|
-
tmp_0.
|
|
1552
|
+
tmp_0.p15_1 = LinkedHashMap_init_$Create$();
|
|
1553
1553
|
this.tf_1 = 1;
|
|
1554
1554
|
continue $sm;
|
|
1555
1555
|
case 1:
|
|
1556
|
-
if (!this.
|
|
1556
|
+
if (!this.m15_1.u14_1.z14()) {
|
|
1557
1557
|
this.tf_1 = 4;
|
|
1558
1558
|
continue $sm;
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
-
this.
|
|
1562
|
-
this.
|
|
1561
|
+
this.q15_1 = this.m15_1.v14_1 ? this.m15_1.u14_1.b15() : this.m15_1.u14_1.a15();
|
|
1562
|
+
this.m15_1.u14_1.x14(get_TC_COLON());
|
|
1563
1563
|
;
|
|
1564
1564
|
this.tf_1 = 2;
|
|
1565
|
-
suspendResult = this.
|
|
1565
|
+
suspendResult = this.n15_1.e6(Unit_getInstance(), this);
|
|
1566
1566
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1567
1567
|
return suspendResult;
|
|
1568
1568
|
}
|
|
@@ -1570,10 +1570,10 @@
|
|
|
1570
1570
|
continue $sm;
|
|
1571
1571
|
case 2:
|
|
1572
1572
|
var element = suspendResult;
|
|
1573
|
-
this.
|
|
1573
|
+
this.p15_1.k3(this.q15_1, element);
|
|
1574
1574
|
;
|
|
1575
|
-
this.
|
|
1576
|
-
var tmp0_subject = this.
|
|
1575
|
+
this.o15_1 = this.m15_1.u14_1.d15();
|
|
1576
|
+
var tmp0_subject = this.o15_1;
|
|
1577
1577
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1578
1578
|
this.tf_1 = 3;
|
|
1579
1579
|
continue $sm;
|
|
@@ -1582,7 +1582,7 @@
|
|
|
1582
1582
|
this.tf_1 = 4;
|
|
1583
1583
|
continue $sm;
|
|
1584
1584
|
} else {
|
|
1585
|
-
this.
|
|
1585
|
+
this.m15_1.u14_1.g14('Expected end of the object or comma');
|
|
1586
1586
|
}
|
|
1587
1587
|
}
|
|
1588
1588
|
|
|
@@ -1591,13 +1591,13 @@
|
|
|
1591
1591
|
this.tf_1 = 1;
|
|
1592
1592
|
continue $sm;
|
|
1593
1593
|
case 4:
|
|
1594
|
-
if (this.
|
|
1595
|
-
this.
|
|
1596
|
-
} else if (this.
|
|
1597
|
-
this.
|
|
1594
|
+
if (this.o15_1 === get_TC_BEGIN_OBJ()) {
|
|
1595
|
+
this.m15_1.u14_1.x14(get_TC_END_OBJ());
|
|
1596
|
+
} else if (this.o15_1 === get_TC_COMMA()) {
|
|
1597
|
+
this.m15_1.u14_1.g14('Unexpected trailing comma');
|
|
1598
1598
|
}
|
|
1599
1599
|
|
|
1600
|
-
return new JsonObject(this.
|
|
1600
|
+
return new JsonObject(this.p15_1);
|
|
1601
1601
|
case 5:
|
|
1602
1602
|
throw this.wf_1;
|
|
1603
1603
|
}
|
|
@@ -1613,12 +1613,12 @@
|
|
|
1613
1613
|
while (true);
|
|
1614
1614
|
};
|
|
1615
1615
|
function JsonTreeReader(configuration, lexer) {
|
|
1616
|
-
this.
|
|
1617
|
-
this.
|
|
1618
|
-
this.
|
|
1616
|
+
this.u14_1 = lexer;
|
|
1617
|
+
this.v14_1 = configuration.t12_1;
|
|
1618
|
+
this.w14_1 = 0;
|
|
1619
1619
|
}
|
|
1620
|
-
protoOf(JsonTreeReader).
|
|
1621
|
-
var token = this.
|
|
1620
|
+
protoOf(JsonTreeReader).c15 = function () {
|
|
1621
|
+
var token = this.u14_1.y14();
|
|
1622
1622
|
var tmp;
|
|
1623
1623
|
if (token === get_TC_STRING()) {
|
|
1624
1624
|
tmp = readValue(this, true);
|
|
@@ -1627,56 +1627,56 @@
|
|
|
1627
1627
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1628
1628
|
var tmp_0;
|
|
1629
1629
|
var tmp0_this = this;
|
|
1630
|
-
tmp0_this.
|
|
1631
|
-
if (tmp0_this.
|
|
1630
|
+
tmp0_this.w14_1 = tmp0_this.w14_1 + 1 | 0;
|
|
1631
|
+
if (tmp0_this.w14_1 === 200) {
|
|
1632
1632
|
tmp_0 = readDeepRecursive(this);
|
|
1633
1633
|
} else {
|
|
1634
1634
|
tmp_0 = readObject(this);
|
|
1635
1635
|
}
|
|
1636
1636
|
var result = tmp_0;
|
|
1637
1637
|
var tmp1_this = this;
|
|
1638
|
-
tmp1_this.
|
|
1638
|
+
tmp1_this.w14_1 = tmp1_this.w14_1 - 1 | 0;
|
|
1639
1639
|
tmp = result;
|
|
1640
1640
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1641
1641
|
tmp = readArray(this);
|
|
1642
1642
|
} else {
|
|
1643
|
-
this.
|
|
1643
|
+
this.u14_1.g14('Cannot begin reading element, unexpected token: ' + token);
|
|
1644
1644
|
}
|
|
1645
1645
|
return tmp;
|
|
1646
1646
|
};
|
|
1647
1647
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
1648
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1648
|
+
var tmp0_iterator = _this__u8e3s4.qm().c();
|
|
1649
1649
|
while (tmp0_iterator.d()) {
|
|
1650
1650
|
var annotation = tmp0_iterator.e();
|
|
1651
1651
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1652
|
-
return annotation.
|
|
1652
|
+
return annotation.g16_1;
|
|
1653
1653
|
}
|
|
1654
|
-
return json.
|
|
1654
|
+
return json.l11_1.a13_1;
|
|
1655
1655
|
}
|
|
1656
1656
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1657
1657
|
var tmp;
|
|
1658
1658
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1659
1659
|
tmp = true;
|
|
1660
1660
|
} else {
|
|
1661
|
-
tmp = _this__u8e3s4.
|
|
1661
|
+
tmp = _this__u8e3s4.e13().l11_1.z12_1;
|
|
1662
1662
|
}
|
|
1663
1663
|
if (tmp) {
|
|
1664
|
-
return deserializer.
|
|
1664
|
+
return deserializer.pl(_this__u8e3s4);
|
|
1665
1665
|
}
|
|
1666
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1666
|
+
var discriminator = classDiscriminator(deserializer.ol(), _this__u8e3s4.e13());
|
|
1667
1667
|
var tmp$ret$0;
|
|
1668
1668
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1669
|
-
var tmp0_cast = _this__u8e3s4.
|
|
1670
|
-
var tmp1_cast = deserializer.
|
|
1669
|
+
var tmp0_cast = _this__u8e3s4.f13();
|
|
1670
|
+
var tmp1_cast = deserializer.ol();
|
|
1671
1671
|
if (!(tmp0_cast instanceof JsonObject)) {
|
|
1672
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.
|
|
1672
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.pm() + ', but had ' + getKClassFromExpression(tmp0_cast));
|
|
1673
1673
|
}
|
|
1674
1674
|
tmp$ret$0 = tmp0_cast;
|
|
1675
1675
|
var jsonTree = tmp$ret$0;
|
|
1676
|
-
var tmp0_safe_receiver = jsonTree.
|
|
1676
|
+
var tmp0_safe_receiver = jsonTree.i13(discriminator);
|
|
1677
1677
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
1678
|
-
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1679
|
-
var tmp2_elvis_lhs = deserializer.
|
|
1678
|
+
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.j13();
|
|
1679
|
+
var tmp2_elvis_lhs = deserializer.dm(_this__u8e3s4, type);
|
|
1680
1680
|
var tmp_0;
|
|
1681
1681
|
if (tmp2_elvis_lhs == null) {
|
|
1682
1682
|
throwSerializerNotFound(type, jsonTree);
|
|
@@ -1684,7 +1684,7 @@
|
|
|
1684
1684
|
tmp_0 = tmp2_elvis_lhs;
|
|
1685
1685
|
}
|
|
1686
1686
|
var actualSerializer = tmp_0;
|
|
1687
|
-
var tmp_1 = _this__u8e3s4.
|
|
1687
|
+
var tmp_1 = _this__u8e3s4.e13();
|
|
1688
1688
|
return readPolymorphicJson(tmp_1, discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE());
|
|
1689
1689
|
}
|
|
1690
1690
|
function throwSerializerNotFound(type, jsonTree) {
|
|
@@ -1692,7 +1692,7 @@
|
|
|
1692
1692
|
throw JsonDecodingException_0(-1, 'Polymorphic serializer was not found for ' + suffix, jsonTree.toString());
|
|
1693
1693
|
}
|
|
1694
1694
|
function checkKind($this, descriptor, actualClass) {
|
|
1695
|
-
var kind = descriptor.
|
|
1695
|
+
var kind = descriptor.tm();
|
|
1696
1696
|
var tmp;
|
|
1697
1697
|
if (kind instanceof PolymorphicKind) {
|
|
1698
1698
|
tmp = true;
|
|
@@ -1702,7 +1702,7 @@
|
|
|
1702
1702
|
if (tmp) {
|
|
1703
1703
|
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.'));
|
|
1704
1704
|
}
|
|
1705
|
-
if ($this.
|
|
1705
|
+
if ($this.h16_1)
|
|
1706
1706
|
return Unit_getInstance();
|
|
1707
1707
|
var tmp_0;
|
|
1708
1708
|
var tmp_1;
|
|
@@ -1722,45 +1722,45 @@
|
|
|
1722
1722
|
}
|
|
1723
1723
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
1724
1724
|
var inductionVariable = 0;
|
|
1725
|
-
var last = descriptor.
|
|
1725
|
+
var last = descriptor.rm();
|
|
1726
1726
|
if (inductionVariable < last)
|
|
1727
1727
|
do {
|
|
1728
1728
|
var i = inductionVariable;
|
|
1729
1729
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1730
|
-
var name = descriptor.
|
|
1731
|
-
if (name === $this.
|
|
1730
|
+
var name = descriptor.xm(i);
|
|
1731
|
+
if (name === $this.i16_1) {
|
|
1732
1732
|
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');
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
1735
|
while (inductionVariable < last);
|
|
1736
1736
|
}
|
|
1737
1737
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
1738
|
-
this.
|
|
1739
|
-
this.
|
|
1738
|
+
this.h16_1 = useArrayPolymorphism;
|
|
1739
|
+
this.i16_1 = discriminator;
|
|
1740
1740
|
}
|
|
1741
|
-
protoOf(PolymorphismValidator).
|
|
1741
|
+
protoOf(PolymorphismValidator).c11 = function (kClass, provider) {
|
|
1742
1742
|
};
|
|
1743
|
-
protoOf(PolymorphismValidator).
|
|
1744
|
-
var descriptor = actualSerializer.
|
|
1743
|
+
protoOf(PolymorphismValidator).f11 = function (baseClass, actualClass, actualSerializer) {
|
|
1744
|
+
var descriptor = actualSerializer.ol();
|
|
1745
1745
|
checkKind(this, descriptor, actualClass);
|
|
1746
|
-
if (!this.
|
|
1746
|
+
if (!this.h16_1) {
|
|
1747
1747
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1748
1748
|
}
|
|
1749
1749
|
};
|
|
1750
|
-
protoOf(PolymorphismValidator).
|
|
1750
|
+
protoOf(PolymorphismValidator).g11 = function (baseClass, defaultSerializerProvider) {
|
|
1751
1751
|
};
|
|
1752
|
-
protoOf(PolymorphismValidator).
|
|
1752
|
+
protoOf(PolymorphismValidator).h11 = function (baseClass, defaultDeserializerProvider) {
|
|
1753
1753
|
};
|
|
1754
1754
|
function Key() {
|
|
1755
1755
|
}
|
|
1756
1756
|
function DescriptorSchemaCache() {
|
|
1757
|
-
this.
|
|
1757
|
+
this.h14_1 = createMapForCache(16);
|
|
1758
1758
|
}
|
|
1759
|
-
protoOf(DescriptorSchemaCache).
|
|
1759
|
+
protoOf(DescriptorSchemaCache).j16 = function (descriptor, key, value) {
|
|
1760
1760
|
// Inline function 'kotlin.collections.set' call
|
|
1761
1761
|
var tmp$ret$1;
|
|
1762
1762
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1763
|
-
var tmp0_getOrPut = this.
|
|
1763
|
+
var tmp0_getOrPut = this.h14_1;
|
|
1764
1764
|
var value_0 = tmp0_getOrPut.m2(descriptor);
|
|
1765
1765
|
var tmp;
|
|
1766
1766
|
if (value_0 == null) {
|
|
@@ -1779,8 +1779,8 @@
|
|
|
1779
1779
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
1780
1780
|
tmp1_set.k3(tmp2_set, tmp3_set);
|
|
1781
1781
|
};
|
|
1782
|
-
protoOf(DescriptorSchemaCache).
|
|
1783
|
-
var tmp0_safe_receiver = this.
|
|
1782
|
+
protoOf(DescriptorSchemaCache).i14 = function (descriptor, key, defaultValue) {
|
|
1783
|
+
var tmp0_safe_receiver = this.k16(descriptor, key);
|
|
1784
1784
|
if (tmp0_safe_receiver == null)
|
|
1785
1785
|
null;
|
|
1786
1786
|
else {
|
|
@@ -1790,11 +1790,11 @@
|
|
|
1790
1790
|
return tmp0_safe_receiver;
|
|
1791
1791
|
}
|
|
1792
1792
|
var value = defaultValue();
|
|
1793
|
-
this.
|
|
1793
|
+
this.j16(descriptor, key, value);
|
|
1794
1794
|
return value;
|
|
1795
1795
|
};
|
|
1796
|
-
protoOf(DescriptorSchemaCache).
|
|
1797
|
-
var tmp0_safe_receiver = this.
|
|
1796
|
+
protoOf(DescriptorSchemaCache).k16 = function (descriptor, key) {
|
|
1797
|
+
var tmp0_safe_receiver = this.h14_1.m2(descriptor);
|
|
1798
1798
|
var tmp;
|
|
1799
1799
|
if (tmp0_safe_receiver == null) {
|
|
1800
1800
|
tmp = null;
|
|
@@ -1805,20 +1805,20 @@
|
|
|
1805
1805
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
1806
1806
|
};
|
|
1807
1807
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1808
|
-
this.
|
|
1808
|
+
this.l16_1 = discriminatorToSkip;
|
|
1809
1809
|
}
|
|
1810
1810
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
1811
1811
|
if (_this__u8e3s4 == null)
|
|
1812
1812
|
return false;
|
|
1813
|
-
if (_this__u8e3s4.
|
|
1814
|
-
_this__u8e3s4.
|
|
1813
|
+
if (_this__u8e3s4.l16_1 === unknownKey) {
|
|
1814
|
+
_this__u8e3s4.l16_1 = null;
|
|
1815
1815
|
return true;
|
|
1816
1816
|
}
|
|
1817
1817
|
return false;
|
|
1818
1818
|
}
|
|
1819
1819
|
function skipLeftoverElements($this, descriptor) {
|
|
1820
1820
|
$l$loop: while (true) {
|
|
1821
|
-
var tmp = $this.
|
|
1821
|
+
var tmp = $this.dp(descriptor);
|
|
1822
1822
|
Companion_getInstance();
|
|
1823
1823
|
if (!!(tmp === -1)) {
|
|
1824
1824
|
break $l$loop;
|
|
@@ -1826,53 +1826,53 @@
|
|
|
1826
1826
|
}
|
|
1827
1827
|
}
|
|
1828
1828
|
function checkLeadingComma($this) {
|
|
1829
|
-
if ($this.
|
|
1830
|
-
$this.
|
|
1829
|
+
if ($this.s11_1.y14() === get_TC_COMMA()) {
|
|
1830
|
+
$this.s11_1.g14('Unexpected leading comma');
|
|
1831
1831
|
}
|
|
1832
1832
|
}
|
|
1833
1833
|
function decodeMapIndex($this) {
|
|
1834
1834
|
var hasComma = false;
|
|
1835
|
-
var decodingKey = !(($this.
|
|
1835
|
+
var decodingKey = !(($this.u11_1 % 2 | 0) === 0);
|
|
1836
1836
|
if (decodingKey) {
|
|
1837
|
-
if (!($this.
|
|
1838
|
-
hasComma = $this.
|
|
1837
|
+
if (!($this.u11_1 === -1)) {
|
|
1838
|
+
hasComma = $this.s11_1.n16();
|
|
1839
1839
|
}
|
|
1840
1840
|
} else {
|
|
1841
|
-
$this.
|
|
1841
|
+
$this.s11_1.m16(get_COLON());
|
|
1842
1842
|
}
|
|
1843
1843
|
var tmp;
|
|
1844
|
-
if ($this.
|
|
1844
|
+
if ($this.s11_1.z14()) {
|
|
1845
1845
|
if (decodingKey) {
|
|
1846
|
-
if ($this.
|
|
1846
|
+
if ($this.u11_1 === -1) {
|
|
1847
1847
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1848
|
-
var tmp0_require = $this.
|
|
1848
|
+
var tmp0_require = $this.s11_1;
|
|
1849
1849
|
var tmp1_require = !hasComma;
|
|
1850
|
-
var tmp2_require = tmp0_require.
|
|
1850
|
+
var tmp2_require = tmp0_require.y11_1;
|
|
1851
1851
|
if (!tmp1_require) {
|
|
1852
1852
|
var tmp$ret$0;
|
|
1853
1853
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1854
1854
|
tmp$ret$0 = 'Unexpected trailing comma';
|
|
1855
|
-
tmp0_require.
|
|
1855
|
+
tmp0_require.g14(tmp$ret$0, tmp2_require);
|
|
1856
1856
|
}
|
|
1857
1857
|
} else {
|
|
1858
1858
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1859
|
-
var tmp3_require = $this.
|
|
1859
|
+
var tmp3_require = $this.s11_1;
|
|
1860
1860
|
var tmp4_require = hasComma;
|
|
1861
|
-
var tmp5_require = tmp3_require.
|
|
1861
|
+
var tmp5_require = tmp3_require.y11_1;
|
|
1862
1862
|
if (!tmp4_require) {
|
|
1863
1863
|
var tmp$ret$1;
|
|
1864
1864
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1865
1865
|
tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
1866
|
-
tmp3_require.
|
|
1866
|
+
tmp3_require.g14(tmp$ret$1, tmp5_require);
|
|
1867
1867
|
}
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
1870
|
var tmp0_this = $this;
|
|
1871
|
-
tmp0_this.
|
|
1872
|
-
tmp = tmp0_this.
|
|
1871
|
+
tmp0_this.u11_1 = tmp0_this.u11_1 + 1 | 0;
|
|
1872
|
+
tmp = tmp0_this.u11_1;
|
|
1873
1873
|
} else {
|
|
1874
1874
|
if (hasComma) {
|
|
1875
|
-
$this.
|
|
1875
|
+
$this.s11_1.g14("Expected '}', but had ',' instead");
|
|
1876
1876
|
}
|
|
1877
1877
|
Companion_getInstance();
|
|
1878
1878
|
tmp = -1;
|
|
@@ -1883,13 +1883,13 @@
|
|
|
1883
1883
|
var tmp$ret$1;
|
|
1884
1884
|
$l$block_2: {
|
|
1885
1885
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
1886
|
-
var tmp0_tryCoerceValue = $this.
|
|
1887
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
1886
|
+
var tmp0_tryCoerceValue = $this.q11_1;
|
|
1887
|
+
var tmp1_tryCoerceValue = descriptor.vm(index);
|
|
1888
1888
|
var tmp;
|
|
1889
|
-
if (!tmp1_tryCoerceValue.
|
|
1889
|
+
if (!tmp1_tryCoerceValue.lm()) {
|
|
1890
1890
|
var tmp$ret$0;
|
|
1891
1891
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1892
|
-
tmp$ret$0 = $this.
|
|
1892
|
+
tmp$ret$0 = $this.s11_1.o16(true);
|
|
1893
1893
|
tmp = tmp$ret$0;
|
|
1894
1894
|
} else {
|
|
1895
1895
|
tmp = false;
|
|
@@ -1898,12 +1898,12 @@
|
|
|
1898
1898
|
tmp$ret$1 = true;
|
|
1899
1899
|
break $l$block_2;
|
|
1900
1900
|
}
|
|
1901
|
-
if (equals(tmp1_tryCoerceValue.
|
|
1901
|
+
if (equals(tmp1_tryCoerceValue.tm(), ENUM_getInstance())) {
|
|
1902
1902
|
var tmp_0;
|
|
1903
|
-
if (tmp1_tryCoerceValue.
|
|
1903
|
+
if (tmp1_tryCoerceValue.lm()) {
|
|
1904
1904
|
var tmp$ret$2;
|
|
1905
1905
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1906
|
-
tmp$ret$2 = $this.
|
|
1906
|
+
tmp$ret$2 = $this.s11_1.o16(false);
|
|
1907
1907
|
tmp_0 = tmp$ret$2;
|
|
1908
1908
|
} else {
|
|
1909
1909
|
tmp_0 = false;
|
|
@@ -1914,7 +1914,7 @@
|
|
|
1914
1914
|
}
|
|
1915
1915
|
var tmp$ret$3;
|
|
1916
1916
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1917
|
-
tmp$ret$3 = $this.
|
|
1917
|
+
tmp$ret$3 = $this.s11_1.p16($this.w11_1.t12_1);
|
|
1918
1918
|
var tmp0_elvis_lhs = tmp$ret$3;
|
|
1919
1919
|
var tmp_1;
|
|
1920
1920
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1928,7 +1928,7 @@
|
|
|
1928
1928
|
Companion_getInstance();
|
|
1929
1929
|
if (enumIndex === -3) {
|
|
1930
1930
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1931
|
-
$this.
|
|
1931
|
+
$this.s11_1.a15();
|
|
1932
1932
|
tmp$ret$1 = true;
|
|
1933
1933
|
break $l$block_2;
|
|
1934
1934
|
}
|
|
@@ -1938,25 +1938,25 @@
|
|
|
1938
1938
|
return tmp$ret$1;
|
|
1939
1939
|
}
|
|
1940
1940
|
function decodeObjectIndex($this, descriptor) {
|
|
1941
|
-
var hasComma = $this.
|
|
1942
|
-
while ($this.
|
|
1941
|
+
var hasComma = $this.s11_1.n16();
|
|
1942
|
+
while ($this.s11_1.z14()) {
|
|
1943
1943
|
hasComma = false;
|
|
1944
1944
|
var key = decodeStringKey($this);
|
|
1945
|
-
$this.
|
|
1946
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
1945
|
+
$this.s11_1.m16(get_COLON());
|
|
1946
|
+
var index = getJsonNameIndex(descriptor, $this.q11_1, key);
|
|
1947
1947
|
var tmp;
|
|
1948
1948
|
Companion_getInstance();
|
|
1949
1949
|
if (!(index === -3)) {
|
|
1950
1950
|
var tmp_0;
|
|
1951
|
-
if ($this.
|
|
1952
|
-
hasComma = $this.
|
|
1951
|
+
if ($this.w11_1.y12_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
1952
|
+
hasComma = $this.s11_1.n16();
|
|
1953
1953
|
tmp_0 = false;
|
|
1954
1954
|
} else {
|
|
1955
|
-
var tmp0_safe_receiver = $this.
|
|
1955
|
+
var tmp0_safe_receiver = $this.x11_1;
|
|
1956
1956
|
if (tmp0_safe_receiver == null)
|
|
1957
1957
|
null;
|
|
1958
1958
|
else {
|
|
1959
|
-
tmp0_safe_receiver.
|
|
1959
|
+
tmp0_safe_receiver.ps(index);
|
|
1960
1960
|
}
|
|
1961
1961
|
return index;
|
|
1962
1962
|
}
|
|
@@ -1970,10 +1970,10 @@
|
|
|
1970
1970
|
}
|
|
1971
1971
|
}
|
|
1972
1972
|
if (hasComma) {
|
|
1973
|
-
$this.
|
|
1973
|
+
$this.s11_1.g14('Unexpected trailing comma');
|
|
1974
1974
|
}
|
|
1975
|
-
var tmp1_safe_receiver = $this.
|
|
1976
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1975
|
+
var tmp1_safe_receiver = $this.x11_1;
|
|
1976
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.qs();
|
|
1977
1977
|
var tmp_1;
|
|
1978
1978
|
if (tmp2_elvis_lhs == null) {
|
|
1979
1979
|
Companion_getInstance();
|
|
@@ -1984,26 +1984,26 @@
|
|
|
1984
1984
|
return tmp_1;
|
|
1985
1985
|
}
|
|
1986
1986
|
function handleUnknown($this, key) {
|
|
1987
|
-
if ($this.
|
|
1988
|
-
$this.
|
|
1987
|
+
if ($this.w11_1.s12_1 ? true : trySkip($this.v11_1, $this, key)) {
|
|
1988
|
+
$this.s11_1.r16($this.w11_1.t12_1);
|
|
1989
1989
|
} else {
|
|
1990
|
-
$this.
|
|
1990
|
+
$this.s11_1.q16(key);
|
|
1991
1991
|
}
|
|
1992
|
-
return $this.
|
|
1992
|
+
return $this.s11_1.n16();
|
|
1993
1993
|
}
|
|
1994
1994
|
function decodeListIndex($this) {
|
|
1995
|
-
var hasComma = $this.
|
|
1995
|
+
var hasComma = $this.s11_1.n16();
|
|
1996
1996
|
var tmp;
|
|
1997
|
-
if ($this.
|
|
1998
|
-
if (!($this.
|
|
1999
|
-
$this.
|
|
1997
|
+
if ($this.s11_1.z14()) {
|
|
1998
|
+
if (!($this.u11_1 === -1) ? !hasComma : false) {
|
|
1999
|
+
$this.s11_1.g14('Expected end of the array or comma');
|
|
2000
2000
|
}
|
|
2001
2001
|
var tmp0_this = $this;
|
|
2002
|
-
tmp0_this.
|
|
2003
|
-
tmp = tmp0_this.
|
|
2002
|
+
tmp0_this.u11_1 = tmp0_this.u11_1 + 1 | 0;
|
|
2003
|
+
tmp = tmp0_this.u11_1;
|
|
2004
2004
|
} else {
|
|
2005
2005
|
if (hasComma) {
|
|
2006
|
-
$this.
|
|
2006
|
+
$this.s11_1.g14('Unexpected trailing comma');
|
|
2007
2007
|
}
|
|
2008
2008
|
Companion_getInstance();
|
|
2009
2009
|
tmp = -1;
|
|
@@ -2012,70 +2012,70 @@
|
|
|
2012
2012
|
}
|
|
2013
2013
|
function decodeStringKey($this) {
|
|
2014
2014
|
var tmp;
|
|
2015
|
-
if ($this.
|
|
2016
|
-
tmp = $this.
|
|
2015
|
+
if ($this.w11_1.t12_1) {
|
|
2016
|
+
tmp = $this.s11_1.t16();
|
|
2017
2017
|
} else {
|
|
2018
|
-
tmp = $this.
|
|
2018
|
+
tmp = $this.s11_1.s16();
|
|
2019
2019
|
}
|
|
2020
2020
|
return tmp;
|
|
2021
2021
|
}
|
|
2022
2022
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2023
2023
|
AbstractDecoder.call(this);
|
|
2024
|
-
this.
|
|
2025
|
-
this.
|
|
2026
|
-
this.
|
|
2027
|
-
this.
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
2031
|
-
this.
|
|
2024
|
+
this.q11_1 = json;
|
|
2025
|
+
this.r11_1 = mode;
|
|
2026
|
+
this.s11_1 = lexer;
|
|
2027
|
+
this.t11_1 = this.q11_1.bp();
|
|
2028
|
+
this.u11_1 = -1;
|
|
2029
|
+
this.v11_1 = discriminatorHolder;
|
|
2030
|
+
this.w11_1 = this.q11_1.l11_1;
|
|
2031
|
+
this.x11_1 = this.w11_1.w12_1 ? null : new JsonElementMarker(descriptor);
|
|
2032
2032
|
}
|
|
2033
|
-
protoOf(StreamingJsonDecoder).
|
|
2034
|
-
return this.
|
|
2033
|
+
protoOf(StreamingJsonDecoder).e13 = function () {
|
|
2034
|
+
return this.q11_1;
|
|
2035
2035
|
};
|
|
2036
|
-
protoOf(StreamingJsonDecoder).
|
|
2037
|
-
return this.
|
|
2036
|
+
protoOf(StreamingJsonDecoder).bp = function () {
|
|
2037
|
+
return this.t11_1;
|
|
2038
2038
|
};
|
|
2039
|
-
protoOf(StreamingJsonDecoder).
|
|
2040
|
-
return (new JsonTreeReader(this.l11_1
|
|
2039
|
+
protoOf(StreamingJsonDecoder).f13 = function () {
|
|
2040
|
+
return (new JsonTreeReader(this.q11_1.l11_1, this.s11_1)).c15();
|
|
2041
2041
|
};
|
|
2042
|
-
protoOf(StreamingJsonDecoder).
|
|
2042
|
+
protoOf(StreamingJsonDecoder).lo = function (deserializer) {
|
|
2043
2043
|
try {
|
|
2044
2044
|
var tmp;
|
|
2045
2045
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2046
2046
|
tmp = true;
|
|
2047
2047
|
} else {
|
|
2048
|
-
tmp = this.l11_1.
|
|
2048
|
+
tmp = this.q11_1.l11_1.z12_1;
|
|
2049
2049
|
}
|
|
2050
2050
|
if (tmp) {
|
|
2051
|
-
return deserializer.
|
|
2051
|
+
return deserializer.pl(this);
|
|
2052
2052
|
}
|
|
2053
|
-
var discriminator = classDiscriminator(deserializer.
|
|
2054
|
-
var type = this.
|
|
2053
|
+
var discriminator = classDiscriminator(deserializer.ol(), this.q11_1);
|
|
2054
|
+
var type = this.s11_1.u16(discriminator, this.w11_1.t12_1);
|
|
2055
2055
|
var actualSerializer = null;
|
|
2056
2056
|
if (!(type == null)) {
|
|
2057
|
-
actualSerializer = deserializer.
|
|
2057
|
+
actualSerializer = deserializer.dm(this, type);
|
|
2058
2058
|
}
|
|
2059
2059
|
if (actualSerializer == null) {
|
|
2060
2060
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
2061
2061
|
}
|
|
2062
|
-
this.
|
|
2063
|
-
var tmp_0 = actualSerializer.
|
|
2062
|
+
this.v11_1 = new DiscriminatorHolder(discriminator);
|
|
2063
|
+
var tmp_0 = actualSerializer.pl(this);
|
|
2064
2064
|
var result = isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
2065
2065
|
return result;
|
|
2066
2066
|
} catch ($p) {
|
|
2067
2067
|
if ($p instanceof MissingFieldException) {
|
|
2068
2068
|
var e = $p;
|
|
2069
|
-
throw new MissingFieldException(e.
|
|
2069
|
+
throw new MissingFieldException(e.em_1, plus(e.message, ' at path: ') + this.s11_1.z11_1.t14(), e);
|
|
2070
2070
|
} else {
|
|
2071
2071
|
throw $p;
|
|
2072
2072
|
}
|
|
2073
2073
|
}
|
|
2074
2074
|
};
|
|
2075
|
-
protoOf(StreamingJsonDecoder).
|
|
2076
|
-
var newMode = switchMode(this.
|
|
2077
|
-
this.
|
|
2078
|
-
this.
|
|
2075
|
+
protoOf(StreamingJsonDecoder).mo = function (descriptor) {
|
|
2076
|
+
var newMode = switchMode(this.q11_1, descriptor);
|
|
2077
|
+
this.s11_1.z11_1.o14(descriptor);
|
|
2078
|
+
this.s11_1.m16(newMode.x16_1);
|
|
2079
2079
|
checkLeadingComma(this);
|
|
2080
2080
|
var tmp0_subject = newMode;
|
|
2081
2081
|
var tmp0 = tmp0_subject.q4_1;
|
|
@@ -2084,14 +2084,14 @@
|
|
|
2084
2084
|
case 1:
|
|
2085
2085
|
case 2:
|
|
2086
2086
|
case 3:
|
|
2087
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2087
|
+
tmp = new StreamingJsonDecoder(this.q11_1, newMode, this.s11_1, descriptor, this.v11_1);
|
|
2088
2088
|
break;
|
|
2089
2089
|
default:
|
|
2090
2090
|
var tmp_0;
|
|
2091
|
-
if (this.
|
|
2091
|
+
if (this.r11_1.equals(newMode) ? this.q11_1.l11_1.w12_1 : false) {
|
|
2092
2092
|
tmp_0 = this;
|
|
2093
2093
|
} else {
|
|
2094
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2094
|
+
tmp_0 = new StreamingJsonDecoder(this.q11_1, newMode, this.s11_1, descriptor, this.v11_1);
|
|
2095
2095
|
}
|
|
2096
2096
|
|
|
2097
2097
|
tmp = tmp_0;
|
|
@@ -2099,40 +2099,40 @@
|
|
|
2099
2099
|
}
|
|
2100
2100
|
return tmp;
|
|
2101
2101
|
};
|
|
2102
|
-
protoOf(StreamingJsonDecoder).
|
|
2103
|
-
if (this.l11_1.
|
|
2102
|
+
protoOf(StreamingJsonDecoder).no = function (descriptor) {
|
|
2103
|
+
if (this.q11_1.l11_1.s12_1 ? descriptor.rm() === 0 : false) {
|
|
2104
2104
|
skipLeftoverElements(this, descriptor);
|
|
2105
2105
|
}
|
|
2106
|
-
this.
|
|
2107
|
-
this.
|
|
2106
|
+
this.s11_1.m16(this.r11_1.y16_1);
|
|
2107
|
+
this.s11_1.z11_1.s14();
|
|
2108
2108
|
};
|
|
2109
|
-
protoOf(StreamingJsonDecoder).
|
|
2109
|
+
protoOf(StreamingJsonDecoder).xn = function () {
|
|
2110
2110
|
var tmp;
|
|
2111
|
-
var tmp0_safe_receiver = this.
|
|
2112
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2111
|
+
var tmp0_safe_receiver = this.x11_1;
|
|
2112
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f14_1;
|
|
2113
2113
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2114
|
-
tmp = !this.
|
|
2114
|
+
tmp = !this.s11_1.z16();
|
|
2115
2115
|
} else {
|
|
2116
2116
|
tmp = false;
|
|
2117
2117
|
}
|
|
2118
2118
|
return tmp;
|
|
2119
2119
|
};
|
|
2120
|
-
protoOf(StreamingJsonDecoder).
|
|
2120
|
+
protoOf(StreamingJsonDecoder).yn = function () {
|
|
2121
2121
|
return null;
|
|
2122
2122
|
};
|
|
2123
|
-
protoOf(StreamingJsonDecoder).
|
|
2124
|
-
var isMapKey = this.
|
|
2123
|
+
protoOf(StreamingJsonDecoder).yo = function (descriptor, index, deserializer, previousValue) {
|
|
2124
|
+
var isMapKey = this.r11_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2125
2125
|
if (isMapKey) {
|
|
2126
|
-
this.
|
|
2126
|
+
this.s11_1.z11_1.r14();
|
|
2127
2127
|
}
|
|
2128
|
-
var value = protoOf(AbstractDecoder).
|
|
2128
|
+
var value = protoOf(AbstractDecoder).yo.call(this, descriptor, index, deserializer, previousValue);
|
|
2129
2129
|
if (isMapKey) {
|
|
2130
|
-
this.
|
|
2130
|
+
this.s11_1.z11_1.q14(value);
|
|
2131
2131
|
}
|
|
2132
2132
|
return value;
|
|
2133
2133
|
};
|
|
2134
|
-
protoOf(StreamingJsonDecoder).
|
|
2135
|
-
var tmp0_subject = this.
|
|
2134
|
+
protoOf(StreamingJsonDecoder).dp = function (descriptor) {
|
|
2135
|
+
var tmp0_subject = this.r11_1;
|
|
2136
2136
|
var tmp0 = tmp0_subject.q4_1;
|
|
2137
2137
|
{
|
|
2138
2138
|
var index;
|
|
@@ -2148,50 +2148,50 @@
|
|
|
2148
2148
|
break;
|
|
2149
2149
|
}
|
|
2150
2150
|
}
|
|
2151
|
-
if (!this.
|
|
2152
|
-
this.
|
|
2151
|
+
if (!this.r11_1.equals(WriteMode_MAP_getInstance())) {
|
|
2152
|
+
this.s11_1.z11_1.p14(index);
|
|
2153
2153
|
}
|
|
2154
2154
|
return index;
|
|
2155
2155
|
};
|
|
2156
|
-
protoOf(StreamingJsonDecoder).
|
|
2156
|
+
protoOf(StreamingJsonDecoder).zn = function () {
|
|
2157
2157
|
var tmp;
|
|
2158
|
-
if (this.
|
|
2159
|
-
tmp = this.
|
|
2158
|
+
if (this.w11_1.t12_1) {
|
|
2159
|
+
tmp = this.s11_1.b17();
|
|
2160
2160
|
} else {
|
|
2161
|
-
tmp = this.
|
|
2161
|
+
tmp = this.s11_1.a17();
|
|
2162
2162
|
}
|
|
2163
2163
|
return tmp;
|
|
2164
2164
|
};
|
|
2165
|
-
protoOf(StreamingJsonDecoder).
|
|
2166
|
-
var value = this.
|
|
2165
|
+
protoOf(StreamingJsonDecoder).ao = function () {
|
|
2166
|
+
var value = this.s11_1.c17();
|
|
2167
2167
|
if (!value.equals(toLong_0(value.kf()))) {
|
|
2168
|
-
this.
|
|
2168
|
+
this.s11_1.g14("Failed to parse byte for input '" + toString(value) + "'");
|
|
2169
2169
|
}
|
|
2170
2170
|
return value.kf();
|
|
2171
2171
|
};
|
|
2172
|
-
protoOf(StreamingJsonDecoder).
|
|
2173
|
-
var value = this.
|
|
2172
|
+
protoOf(StreamingJsonDecoder).bo = function () {
|
|
2173
|
+
var value = this.s11_1.c17();
|
|
2174
2174
|
if (!value.equals(toLong_0(value.lf()))) {
|
|
2175
|
-
this.
|
|
2175
|
+
this.s11_1.g14("Failed to parse short for input '" + toString(value) + "'");
|
|
2176
2176
|
}
|
|
2177
2177
|
return value.lf();
|
|
2178
2178
|
};
|
|
2179
|
-
protoOf(StreamingJsonDecoder).
|
|
2180
|
-
var value = this.
|
|
2179
|
+
protoOf(StreamingJsonDecoder).co = function () {
|
|
2180
|
+
var value = this.s11_1.c17();
|
|
2181
2181
|
if (!value.equals(toLong_0(value.p5()))) {
|
|
2182
|
-
this.
|
|
2182
|
+
this.s11_1.g14("Failed to parse int for input '" + toString(value) + "'");
|
|
2183
2183
|
}
|
|
2184
2184
|
return value.p5();
|
|
2185
2185
|
};
|
|
2186
|
-
protoOf(StreamingJsonDecoder).
|
|
2187
|
-
return this.
|
|
2186
|
+
protoOf(StreamingJsonDecoder).do = function () {
|
|
2187
|
+
return this.s11_1.c17();
|
|
2188
2188
|
};
|
|
2189
|
-
protoOf(StreamingJsonDecoder).
|
|
2189
|
+
protoOf(StreamingJsonDecoder).eo = function () {
|
|
2190
2190
|
var tmp$ret$4;
|
|
2191
2191
|
$l$block: {
|
|
2192
2192
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2193
|
-
var tmp0_parseString = this.
|
|
2194
|
-
var input = tmp0_parseString.
|
|
2193
|
+
var tmp0_parseString = this.s11_1;
|
|
2194
|
+
var input = tmp0_parseString.b15();
|
|
2195
2195
|
try {
|
|
2196
2196
|
var tmp$ret$3;
|
|
2197
2197
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
@@ -2211,24 +2211,24 @@
|
|
|
2211
2211
|
} catch ($p) {
|
|
2212
2212
|
if ($p instanceof IllegalArgumentException) {
|
|
2213
2213
|
var e = $p;
|
|
2214
|
-
tmp0_parseString.
|
|
2214
|
+
tmp0_parseString.g14("Failed to parse type 'float' for input '" + input + "'");
|
|
2215
2215
|
} else {
|
|
2216
2216
|
throw $p;
|
|
2217
2217
|
}
|
|
2218
2218
|
}
|
|
2219
2219
|
}
|
|
2220
2220
|
var result = tmp$ret$4;
|
|
2221
|
-
var specialFp = this.l11_1.
|
|
2221
|
+
var specialFp = this.q11_1.l11_1.b13_1;
|
|
2222
2222
|
if (specialFp ? true : isFinite(result))
|
|
2223
2223
|
return result;
|
|
2224
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2224
|
+
throwInvalidFloatingPointDecoded(this.s11_1, result);
|
|
2225
2225
|
};
|
|
2226
|
-
protoOf(StreamingJsonDecoder).
|
|
2226
|
+
protoOf(StreamingJsonDecoder).fo = function () {
|
|
2227
2227
|
var tmp$ret$1;
|
|
2228
2228
|
$l$block: {
|
|
2229
2229
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2230
|
-
var tmp0_parseString = this.
|
|
2231
|
-
var input = tmp0_parseString.
|
|
2230
|
+
var tmp0_parseString = this.s11_1;
|
|
2231
|
+
var input = tmp0_parseString.b15();
|
|
2232
2232
|
try {
|
|
2233
2233
|
var tmp$ret$0;
|
|
2234
2234
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
@@ -2238,57 +2238,57 @@
|
|
|
2238
2238
|
} catch ($p) {
|
|
2239
2239
|
if ($p instanceof IllegalArgumentException) {
|
|
2240
2240
|
var e = $p;
|
|
2241
|
-
tmp0_parseString.
|
|
2241
|
+
tmp0_parseString.g14("Failed to parse type 'double' for input '" + input + "'");
|
|
2242
2242
|
} else {
|
|
2243
2243
|
throw $p;
|
|
2244
2244
|
}
|
|
2245
2245
|
}
|
|
2246
2246
|
}
|
|
2247
2247
|
var result = tmp$ret$1;
|
|
2248
|
-
var specialFp = this.l11_1.
|
|
2248
|
+
var specialFp = this.q11_1.l11_1.b13_1;
|
|
2249
2249
|
if (specialFp ? true : isFinite_0(result))
|
|
2250
2250
|
return result;
|
|
2251
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2251
|
+
throwInvalidFloatingPointDecoded(this.s11_1, result);
|
|
2252
2252
|
};
|
|
2253
|
-
protoOf(StreamingJsonDecoder).
|
|
2254
|
-
var string = this.
|
|
2253
|
+
protoOf(StreamingJsonDecoder).go = function () {
|
|
2254
|
+
var string = this.s11_1.b15();
|
|
2255
2255
|
if (!(string.length === 1)) {
|
|
2256
|
-
this.
|
|
2256
|
+
this.s11_1.g14("Expected single char, but got '" + string + "'");
|
|
2257
2257
|
}
|
|
2258
2258
|
return charSequenceGet(string, 0);
|
|
2259
2259
|
};
|
|
2260
|
-
protoOf(StreamingJsonDecoder).
|
|
2260
|
+
protoOf(StreamingJsonDecoder).ho = function () {
|
|
2261
2261
|
var tmp;
|
|
2262
|
-
if (this.
|
|
2263
|
-
tmp = this.
|
|
2262
|
+
if (this.w11_1.t12_1) {
|
|
2263
|
+
tmp = this.s11_1.t16();
|
|
2264
2264
|
} else {
|
|
2265
|
-
tmp = this.
|
|
2265
|
+
tmp = this.s11_1.a15();
|
|
2266
2266
|
}
|
|
2267
2267
|
return tmp;
|
|
2268
2268
|
};
|
|
2269
|
-
protoOf(StreamingJsonDecoder).
|
|
2270
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2269
|
+
protoOf(StreamingJsonDecoder).jo = function (descriptor) {
|
|
2270
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.s11_1, this.q11_1) : protoOf(AbstractDecoder).jo.call(this, descriptor);
|
|
2271
2271
|
};
|
|
2272
|
-
protoOf(StreamingJsonDecoder).
|
|
2273
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2272
|
+
protoOf(StreamingJsonDecoder).io = function (enumDescriptor) {
|
|
2273
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.q11_1, this.ho(), ' at path ' + this.s11_1.z11_1.t14());
|
|
2274
2274
|
};
|
|
2275
2275
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2276
2276
|
AbstractDecoder.call(this);
|
|
2277
|
-
this.
|
|
2278
|
-
this.
|
|
2277
|
+
this.d17_1 = lexer;
|
|
2278
|
+
this.e17_1 = json.bp();
|
|
2279
2279
|
}
|
|
2280
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2281
|
-
return this.
|
|
2280
|
+
protoOf(JsonDecoderForUnsignedTypes).bp = function () {
|
|
2281
|
+
return this.e17_1;
|
|
2282
2282
|
};
|
|
2283
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2283
|
+
protoOf(JsonDecoderForUnsignedTypes).dp = function (descriptor) {
|
|
2284
2284
|
throw IllegalStateException_init_$Create$('unsupported');
|
|
2285
2285
|
};
|
|
2286
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2286
|
+
protoOf(JsonDecoderForUnsignedTypes).co = function () {
|
|
2287
2287
|
var tmp$ret$2;
|
|
2288
2288
|
$l$block: {
|
|
2289
2289
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2290
|
-
var tmp0_parseString = this.
|
|
2291
|
-
var input = tmp0_parseString.
|
|
2290
|
+
var tmp0_parseString = this.d17_1;
|
|
2291
|
+
var input = tmp0_parseString.b15();
|
|
2292
2292
|
try {
|
|
2293
2293
|
var tmp$ret$1;
|
|
2294
2294
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
@@ -2302,7 +2302,7 @@
|
|
|
2302
2302
|
} catch ($p) {
|
|
2303
2303
|
if ($p instanceof IllegalArgumentException) {
|
|
2304
2304
|
var e = $p;
|
|
2305
|
-
tmp0_parseString.
|
|
2305
|
+
tmp0_parseString.g14("Failed to parse type 'UInt' for input '" + input + "'");
|
|
2306
2306
|
} else {
|
|
2307
2307
|
throw $p;
|
|
2308
2308
|
}
|
|
@@ -2310,12 +2310,12 @@
|
|
|
2310
2310
|
}
|
|
2311
2311
|
return tmp$ret$2;
|
|
2312
2312
|
};
|
|
2313
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2313
|
+
protoOf(JsonDecoderForUnsignedTypes).do = function () {
|
|
2314
2314
|
var tmp$ret$2;
|
|
2315
2315
|
$l$block: {
|
|
2316
2316
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2317
|
-
var tmp0_parseString = this.
|
|
2318
|
-
var input = tmp0_parseString.
|
|
2317
|
+
var tmp0_parseString = this.d17_1;
|
|
2318
|
+
var input = tmp0_parseString.b15();
|
|
2319
2319
|
try {
|
|
2320
2320
|
var tmp$ret$1;
|
|
2321
2321
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
@@ -2329,7 +2329,7 @@
|
|
|
2329
2329
|
} catch ($p) {
|
|
2330
2330
|
if ($p instanceof IllegalArgumentException) {
|
|
2331
2331
|
var e = $p;
|
|
2332
|
-
tmp0_parseString.
|
|
2332
|
+
tmp0_parseString.g14("Failed to parse type 'ULong' for input '" + input + "'");
|
|
2333
2333
|
} else {
|
|
2334
2334
|
throw $p;
|
|
2335
2335
|
}
|
|
@@ -2337,12 +2337,12 @@
|
|
|
2337
2337
|
}
|
|
2338
2338
|
return tmp$ret$2;
|
|
2339
2339
|
};
|
|
2340
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2340
|
+
protoOf(JsonDecoderForUnsignedTypes).ao = function () {
|
|
2341
2341
|
var tmp$ret$2;
|
|
2342
2342
|
$l$block: {
|
|
2343
2343
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2344
|
-
var tmp0_parseString = this.
|
|
2345
|
-
var input = tmp0_parseString.
|
|
2344
|
+
var tmp0_parseString = this.d17_1;
|
|
2345
|
+
var input = tmp0_parseString.b15();
|
|
2346
2346
|
try {
|
|
2347
2347
|
var tmp$ret$1;
|
|
2348
2348
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
@@ -2356,7 +2356,7 @@
|
|
|
2356
2356
|
} catch ($p) {
|
|
2357
2357
|
if ($p instanceof IllegalArgumentException) {
|
|
2358
2358
|
var e = $p;
|
|
2359
|
-
tmp0_parseString.
|
|
2359
|
+
tmp0_parseString.g14("Failed to parse type 'UByte' for input '" + input + "'");
|
|
2360
2360
|
} else {
|
|
2361
2361
|
throw $p;
|
|
2362
2362
|
}
|
|
@@ -2364,12 +2364,12 @@
|
|
|
2364
2364
|
}
|
|
2365
2365
|
return tmp$ret$2;
|
|
2366
2366
|
};
|
|
2367
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2367
|
+
protoOf(JsonDecoderForUnsignedTypes).bo = function () {
|
|
2368
2368
|
var tmp$ret$2;
|
|
2369
2369
|
$l$block: {
|
|
2370
2370
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2371
|
-
var tmp0_parseString = this.
|
|
2372
|
-
var input = tmp0_parseString.
|
|
2371
|
+
var tmp0_parseString = this.d17_1;
|
|
2372
|
+
var input = tmp0_parseString.b15();
|
|
2373
2373
|
try {
|
|
2374
2374
|
var tmp$ret$1;
|
|
2375
2375
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
@@ -2383,7 +2383,7 @@
|
|
|
2383
2383
|
} catch ($p) {
|
|
2384
2384
|
if ($p instanceof IllegalArgumentException) {
|
|
2385
2385
|
var e = $p;
|
|
2386
|
-
tmp0_parseString.
|
|
2386
|
+
tmp0_parseString.g14("Failed to parse type 'UShort' for input '" + input + "'");
|
|
2387
2387
|
} else {
|
|
2388
2388
|
throw $p;
|
|
2389
2389
|
}
|
|
@@ -2398,14 +2398,14 @@
|
|
|
2398
2398
|
var unsignedNumberDescriptors;
|
|
2399
2399
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
2400
2400
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
2401
|
-
return _this__u8e3s4.
|
|
2401
|
+
return _this__u8e3s4.sm() ? get_unsignedNumberDescriptors().i1(_this__u8e3s4) : false;
|
|
2402
2402
|
}
|
|
2403
2403
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
2404
2404
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
2405
2405
|
if (properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
2406
2406
|
} else {
|
|
2407
2407
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
2408
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).
|
|
2408
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).ol(), serializer_1(Companion_getInstance_1()).ol(), serializer_2(Companion_getInstance_2()).ol(), serializer_3(Companion_getInstance_3()).ol()]);
|
|
2409
2409
|
}
|
|
2410
2410
|
}
|
|
2411
2411
|
function get_ESCAPE_STRINGS() {
|
|
@@ -2609,10 +2609,10 @@
|
|
|
2609
2609
|
}
|
|
2610
2610
|
}
|
|
2611
2611
|
var input = tmp;
|
|
2612
|
-
return input.
|
|
2612
|
+
return input.lo(deserializer);
|
|
2613
2613
|
}
|
|
2614
2614
|
function currentObject($this) {
|
|
2615
|
-
var tmp0_safe_receiver = $this.
|
|
2615
|
+
var tmp0_safe_receiver = $this.gz();
|
|
2616
2616
|
var tmp;
|
|
2617
2617
|
if (tmp0_safe_receiver == null) {
|
|
2618
2618
|
tmp = null;
|
|
@@ -2622,7 +2622,7 @@
|
|
|
2622
2622
|
// Inline function 'kotlin.contracts.contract' call
|
|
2623
2623
|
var tmp$ret$0;
|
|
2624
2624
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
2625
|
-
tmp$ret$0 = $this.
|
|
2625
|
+
tmp$ret$0 = $this.k17(tmp0_safe_receiver);
|
|
2626
2626
|
tmp$ret$1 = tmp$ret$0;
|
|
2627
2627
|
tmp = tmp$ret$1;
|
|
2628
2628
|
}
|
|
@@ -2644,31 +2644,31 @@
|
|
|
2644
2644
|
}
|
|
2645
2645
|
function AbstractJsonTreeDecoder(json, value) {
|
|
2646
2646
|
NamedValueDecoder.call(this);
|
|
2647
|
-
this.
|
|
2648
|
-
this.
|
|
2649
|
-
this.
|
|
2647
|
+
this.h17_1 = json;
|
|
2648
|
+
this.i17_1 = value;
|
|
2649
|
+
this.j17_1 = this.e13().l11_1;
|
|
2650
2650
|
}
|
|
2651
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2652
|
-
return this.
|
|
2651
|
+
protoOf(AbstractJsonTreeDecoder).e13 = function () {
|
|
2652
|
+
return this.h17_1;
|
|
2653
2653
|
};
|
|
2654
2654
|
protoOf(AbstractJsonTreeDecoder).w = function () {
|
|
2655
|
-
return this.
|
|
2655
|
+
return this.i17_1;
|
|
2656
2656
|
};
|
|
2657
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2658
|
-
return this.
|
|
2657
|
+
protoOf(AbstractJsonTreeDecoder).bp = function () {
|
|
2658
|
+
return this.e13().bp();
|
|
2659
2659
|
};
|
|
2660
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2660
|
+
protoOf(AbstractJsonTreeDecoder).f13 = function () {
|
|
2661
2661
|
return currentObject(this);
|
|
2662
2662
|
};
|
|
2663
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2663
|
+
protoOf(AbstractJsonTreeDecoder).lo = function (deserializer) {
|
|
2664
2664
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
2665
2665
|
};
|
|
2666
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2666
|
+
protoOf(AbstractJsonTreeDecoder).hz = function (parentName, childName) {
|
|
2667
2667
|
return childName;
|
|
2668
2668
|
};
|
|
2669
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2669
|
+
protoOf(AbstractJsonTreeDecoder).mo = function (descriptor) {
|
|
2670
2670
|
var currentObject_0 = currentObject(this);
|
|
2671
|
-
var tmp0_subject = descriptor.
|
|
2671
|
+
var tmp0_subject = descriptor.tm();
|
|
2672
2672
|
var tmp;
|
|
2673
2673
|
var tmp_0;
|
|
2674
2674
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -2677,11 +2677,11 @@
|
|
|
2677
2677
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
2678
2678
|
}
|
|
2679
2679
|
if (tmp_0) {
|
|
2680
|
-
var tmp_1 = this.
|
|
2680
|
+
var tmp_1 = this.e13();
|
|
2681
2681
|
var tmp$ret$0;
|
|
2682
2682
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2683
2683
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2684
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2684
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.pm() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2685
2685
|
}
|
|
2686
2686
|
tmp$ret$0 = currentObject_0;
|
|
2687
2687
|
tmp = new JsonTreeListDecoder(tmp_1, tmp$ret$0);
|
|
@@ -2689,9 +2689,9 @@
|
|
|
2689
2689
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
2690
2690
|
var tmp$ret$5;
|
|
2691
2691
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
2692
|
-
var tmp0_selectMapMode = this.
|
|
2693
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
2694
|
-
var keyKind = keyDescriptor.
|
|
2692
|
+
var tmp0_selectMapMode = this.e13();
|
|
2693
|
+
var keyDescriptor = carrierDescriptor(descriptor.vm(0), tmp0_selectMapMode.bp());
|
|
2694
|
+
var keyKind = keyDescriptor.tm();
|
|
2695
2695
|
var tmp_2;
|
|
2696
2696
|
var tmp_3;
|
|
2697
2697
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -2702,24 +2702,24 @@
|
|
|
2702
2702
|
if (tmp_3) {
|
|
2703
2703
|
var tmp$ret$2;
|
|
2704
2704
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2705
|
-
var tmp_4 = this.
|
|
2705
|
+
var tmp_4 = this.e13();
|
|
2706
2706
|
var tmp$ret$1;
|
|
2707
2707
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2708
2708
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2709
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2709
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.pm() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2710
2710
|
}
|
|
2711
2711
|
tmp$ret$1 = currentObject_0;
|
|
2712
2712
|
tmp$ret$2 = new JsonTreeMapDecoder(tmp_4, tmp$ret$1);
|
|
2713
2713
|
tmp_2 = tmp$ret$2;
|
|
2714
2714
|
} else {
|
|
2715
|
-
if (tmp0_selectMapMode.
|
|
2715
|
+
if (tmp0_selectMapMode.l11_1.u12_1) {
|
|
2716
2716
|
var tmp$ret$4;
|
|
2717
2717
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2718
|
-
var tmp_5 = this.
|
|
2718
|
+
var tmp_5 = this.e13();
|
|
2719
2719
|
var tmp$ret$3;
|
|
2720
2720
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2721
2721
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2722
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2722
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.pm() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2723
2723
|
}
|
|
2724
2724
|
tmp$ret$3 = currentObject_0;
|
|
2725
2725
|
tmp$ret$4 = new JsonTreeListDecoder(tmp_5, tmp$ret$3);
|
|
@@ -2731,11 +2731,11 @@
|
|
|
2731
2731
|
tmp$ret$5 = tmp_2;
|
|
2732
2732
|
tmp = tmp$ret$5;
|
|
2733
2733
|
} else {
|
|
2734
|
-
var tmp_6 = this.
|
|
2734
|
+
var tmp_6 = this.e13();
|
|
2735
2735
|
var tmp$ret$6;
|
|
2736
2736
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2737
2737
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2738
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2738
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.pm() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2739
2739
|
}
|
|
2740
2740
|
tmp$ret$6 = currentObject_0;
|
|
2741
2741
|
tmp = new JsonTreeDecoder(tmp_6, tmp$ret$6);
|
|
@@ -2743,14 +2743,14 @@
|
|
|
2743
2743
|
}
|
|
2744
2744
|
return tmp;
|
|
2745
2745
|
};
|
|
2746
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2746
|
+
protoOf(AbstractJsonTreeDecoder).no = function (descriptor) {
|
|
2747
2747
|
};
|
|
2748
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2748
|
+
protoOf(AbstractJsonTreeDecoder).xn = function () {
|
|
2749
2749
|
var tmp = currentObject(this);
|
|
2750
2750
|
return !(tmp instanceof JsonNull);
|
|
2751
2751
|
};
|
|
2752
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2753
|
-
var currentElement = this.
|
|
2752
|
+
protoOf(AbstractJsonTreeDecoder).l17 = function (tag) {
|
|
2753
|
+
var currentElement = this.k17(tag);
|
|
2754
2754
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
2755
2755
|
var tmp;
|
|
2756
2756
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2760,23 +2760,23 @@
|
|
|
2760
2760
|
}
|
|
2761
2761
|
return tmp;
|
|
2762
2762
|
};
|
|
2763
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2764
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2763
|
+
protoOf(AbstractJsonTreeDecoder).m17 = function (tag, enumDescriptor) {
|
|
2764
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.e13(), this.l17(tag).j13());
|
|
2765
2765
|
};
|
|
2766
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2767
|
-
return this.
|
|
2766
|
+
protoOf(AbstractJsonTreeDecoder).tz = function (tag, enumDescriptor) {
|
|
2767
|
+
return this.m17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
2768
2768
|
};
|
|
2769
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2770
|
-
return !(this.
|
|
2769
|
+
protoOf(AbstractJsonTreeDecoder).n17 = function (tag) {
|
|
2770
|
+
return !(this.k17(tag) === JsonNull_getInstance());
|
|
2771
2771
|
};
|
|
2772
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2773
|
-
return this.
|
|
2772
|
+
protoOf(AbstractJsonTreeDecoder).jz = function (tag) {
|
|
2773
|
+
return this.n17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2774
2774
|
};
|
|
2775
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2776
|
-
var value = this.
|
|
2777
|
-
if (!this.
|
|
2775
|
+
protoOf(AbstractJsonTreeDecoder).o17 = function (tag) {
|
|
2776
|
+
var value = this.l17(tag);
|
|
2777
|
+
if (!this.e13().l11_1.t12_1) {
|
|
2778
2778
|
var literal = asLiteral(value, this, 'boolean');
|
|
2779
|
-
if (literal.
|
|
2779
|
+
if (literal.n13_1)
|
|
2780
2780
|
throw JsonDecodingException_0(-1, "Boolean literal for key '" + tag + "' should be unquoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2781
2781
|
}
|
|
2782
2782
|
var tmp$ret$1;
|
|
@@ -2813,14 +2813,14 @@
|
|
|
2813
2813
|
}
|
|
2814
2814
|
return tmp$ret$1;
|
|
2815
2815
|
};
|
|
2816
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2817
|
-
return this.
|
|
2816
|
+
protoOf(AbstractJsonTreeDecoder).kz = function (tag) {
|
|
2817
|
+
return this.o17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2818
2818
|
};
|
|
2819
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2819
|
+
protoOf(AbstractJsonTreeDecoder).p17 = function (tag) {
|
|
2820
2820
|
var tmp$ret$1;
|
|
2821
2821
|
$l$block: {
|
|
2822
2822
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2823
|
-
var tmp0_primitive = this.
|
|
2823
|
+
var tmp0_primitive = this.l17(tag);
|
|
2824
2824
|
try {
|
|
2825
2825
|
var tmp$ret$0;
|
|
2826
2826
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
@@ -2853,14 +2853,14 @@
|
|
|
2853
2853
|
}
|
|
2854
2854
|
return tmp$ret$1;
|
|
2855
2855
|
};
|
|
2856
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2857
|
-
return this.
|
|
2856
|
+
protoOf(AbstractJsonTreeDecoder).lz = function (tag) {
|
|
2857
|
+
return this.p17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2858
2858
|
};
|
|
2859
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2859
|
+
protoOf(AbstractJsonTreeDecoder).q17 = function (tag) {
|
|
2860
2860
|
var tmp$ret$1;
|
|
2861
2861
|
$l$block: {
|
|
2862
2862
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2863
|
-
var tmp0_primitive = this.
|
|
2863
|
+
var tmp0_primitive = this.l17(tag);
|
|
2864
2864
|
try {
|
|
2865
2865
|
var tmp$ret$0;
|
|
2866
2866
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
@@ -2893,14 +2893,14 @@
|
|
|
2893
2893
|
}
|
|
2894
2894
|
return tmp$ret$1;
|
|
2895
2895
|
};
|
|
2896
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2897
|
-
return this.
|
|
2896
|
+
protoOf(AbstractJsonTreeDecoder).mz = function (tag) {
|
|
2897
|
+
return this.q17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2898
2898
|
};
|
|
2899
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2899
|
+
protoOf(AbstractJsonTreeDecoder).r17 = function (tag) {
|
|
2900
2900
|
var tmp$ret$1;
|
|
2901
2901
|
$l$block: {
|
|
2902
2902
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2903
|
-
var tmp0_primitive = this.
|
|
2903
|
+
var tmp0_primitive = this.l17(tag);
|
|
2904
2904
|
try {
|
|
2905
2905
|
var tmp$ret$0;
|
|
2906
2906
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
@@ -2925,14 +2925,14 @@
|
|
|
2925
2925
|
}
|
|
2926
2926
|
return tmp$ret$1;
|
|
2927
2927
|
};
|
|
2928
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2929
|
-
return this.
|
|
2928
|
+
protoOf(AbstractJsonTreeDecoder).nz = function (tag) {
|
|
2929
|
+
return this.r17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2930
2930
|
};
|
|
2931
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2931
|
+
protoOf(AbstractJsonTreeDecoder).s17 = function (tag) {
|
|
2932
2932
|
var tmp$ret$1;
|
|
2933
2933
|
$l$block: {
|
|
2934
2934
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2935
|
-
var tmp0_primitive = this.
|
|
2935
|
+
var tmp0_primitive = this.l17(tag);
|
|
2936
2936
|
try {
|
|
2937
2937
|
var tmp$ret$0;
|
|
2938
2938
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
@@ -2957,14 +2957,14 @@
|
|
|
2957
2957
|
}
|
|
2958
2958
|
return tmp$ret$1;
|
|
2959
2959
|
};
|
|
2960
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2961
|
-
return this.
|
|
2960
|
+
protoOf(AbstractJsonTreeDecoder).oz = function (tag) {
|
|
2961
|
+
return this.s17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2962
2962
|
};
|
|
2963
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2963
|
+
protoOf(AbstractJsonTreeDecoder).t17 = function (tag) {
|
|
2964
2964
|
var tmp$ret$1;
|
|
2965
2965
|
$l$block: {
|
|
2966
2966
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2967
|
-
var tmp0_primitive = this.
|
|
2967
|
+
var tmp0_primitive = this.l17(tag);
|
|
2968
2968
|
try {
|
|
2969
2969
|
var tmp$ret$0;
|
|
2970
2970
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
@@ -2988,19 +2988,19 @@
|
|
|
2988
2988
|
}
|
|
2989
2989
|
}
|
|
2990
2990
|
var result = tmp$ret$1;
|
|
2991
|
-
var specialFp = this.
|
|
2991
|
+
var specialFp = this.e13().l11_1.b13_1;
|
|
2992
2992
|
if (specialFp ? true : isFinite(result))
|
|
2993
2993
|
return result;
|
|
2994
2994
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
2995
2995
|
};
|
|
2996
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2997
|
-
return this.
|
|
2996
|
+
protoOf(AbstractJsonTreeDecoder).pz = function (tag) {
|
|
2997
|
+
return this.t17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2998
2998
|
};
|
|
2999
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2999
|
+
protoOf(AbstractJsonTreeDecoder).u17 = function (tag) {
|
|
3000
3000
|
var tmp$ret$1;
|
|
3001
3001
|
$l$block: {
|
|
3002
3002
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3003
|
-
var tmp0_primitive = this.
|
|
3003
|
+
var tmp0_primitive = this.l17(tag);
|
|
3004
3004
|
try {
|
|
3005
3005
|
var tmp$ret$0;
|
|
3006
3006
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
@@ -3024,23 +3024,23 @@
|
|
|
3024
3024
|
}
|
|
3025
3025
|
}
|
|
3026
3026
|
var result = tmp$ret$1;
|
|
3027
|
-
var specialFp = this.
|
|
3027
|
+
var specialFp = this.e13().l11_1.b13_1;
|
|
3028
3028
|
if (specialFp ? true : isFinite_0(result))
|
|
3029
3029
|
return result;
|
|
3030
3030
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
3031
3031
|
};
|
|
3032
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3033
|
-
return this.
|
|
3032
|
+
protoOf(AbstractJsonTreeDecoder).qz = function (tag) {
|
|
3033
|
+
return this.u17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3034
3034
|
};
|
|
3035
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3035
|
+
protoOf(AbstractJsonTreeDecoder).v17 = function (tag) {
|
|
3036
3036
|
var tmp$ret$1;
|
|
3037
3037
|
$l$block: {
|
|
3038
3038
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3039
|
-
var tmp0_primitive = this.
|
|
3039
|
+
var tmp0_primitive = this.l17(tag);
|
|
3040
3040
|
try {
|
|
3041
3041
|
var tmp$ret$0;
|
|
3042
3042
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3043
|
-
tmp$ret$0 = single(tmp0_primitive.
|
|
3043
|
+
tmp$ret$0 = single(tmp0_primitive.j13());
|
|
3044
3044
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
3045
3045
|
var tmp;
|
|
3046
3046
|
var tmp_0 = tmp0_elvis_lhs;
|
|
@@ -3062,40 +3062,40 @@
|
|
|
3062
3062
|
}
|
|
3063
3063
|
return tmp$ret$1;
|
|
3064
3064
|
};
|
|
3065
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3066
|
-
return this.
|
|
3065
|
+
protoOf(AbstractJsonTreeDecoder).rz = function (tag) {
|
|
3066
|
+
return this.v17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3067
3067
|
};
|
|
3068
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3069
|
-
var value = this.
|
|
3070
|
-
if (!this.
|
|
3068
|
+
protoOf(AbstractJsonTreeDecoder).w17 = function (tag) {
|
|
3069
|
+
var value = this.l17(tag);
|
|
3070
|
+
if (!this.e13().l11_1.t12_1) {
|
|
3071
3071
|
var literal = asLiteral(value, this, 'string');
|
|
3072
|
-
if (!literal.
|
|
3072
|
+
if (!literal.n13_1)
|
|
3073
3073
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
3074
3074
|
}
|
|
3075
3075
|
if (value instanceof JsonNull)
|
|
3076
3076
|
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this)));
|
|
3077
|
-
return value.
|
|
3077
|
+
return value.j13();
|
|
3078
3078
|
};
|
|
3079
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3080
|
-
return this.
|
|
3079
|
+
protoOf(AbstractJsonTreeDecoder).sz = function (tag) {
|
|
3080
|
+
return this.w17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3081
3081
|
};
|
|
3082
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3083
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
3082
|
+
protoOf(AbstractJsonTreeDecoder).x17 = function (tag, inlineDescriptor) {
|
|
3083
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.l17(tag).j13()), this.e13()) : protoOf(NamedValueDecoder).uz.call(this, tag, inlineDescriptor);
|
|
3084
3084
|
};
|
|
3085
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3086
|
-
return this.
|
|
3085
|
+
protoOf(AbstractJsonTreeDecoder).uz = function (tag, inlineDescriptor) {
|
|
3086
|
+
return this.x17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3087
3087
|
};
|
|
3088
3088
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
3089
3089
|
var tmp$ret$1;
|
|
3090
3090
|
$l$block_2: {
|
|
3091
3091
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
3092
|
-
var tmp0_tryCoerceValue = $this.
|
|
3093
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
3092
|
+
var tmp0_tryCoerceValue = $this.e13();
|
|
3093
|
+
var tmp1_tryCoerceValue = descriptor.vm(index);
|
|
3094
3094
|
var tmp;
|
|
3095
|
-
if (!tmp1_tryCoerceValue.
|
|
3095
|
+
if (!tmp1_tryCoerceValue.lm()) {
|
|
3096
3096
|
var tmp$ret$0;
|
|
3097
3097
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3098
|
-
var tmp_0 = $this.
|
|
3098
|
+
var tmp_0 = $this.k17(tag);
|
|
3099
3099
|
tmp$ret$0 = tmp_0 instanceof JsonNull;
|
|
3100
3100
|
tmp = tmp$ret$0;
|
|
3101
3101
|
} else {
|
|
@@ -3105,12 +3105,12 @@
|
|
|
3105
3105
|
tmp$ret$1 = true;
|
|
3106
3106
|
break $l$block_2;
|
|
3107
3107
|
}
|
|
3108
|
-
if (equals(tmp1_tryCoerceValue.
|
|
3108
|
+
if (equals(tmp1_tryCoerceValue.tm(), ENUM_getInstance())) {
|
|
3109
3109
|
var tmp_1;
|
|
3110
|
-
if (tmp1_tryCoerceValue.
|
|
3110
|
+
if (tmp1_tryCoerceValue.lm()) {
|
|
3111
3111
|
var tmp$ret$2;
|
|
3112
3112
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3113
|
-
var tmp_2 = $this.
|
|
3113
|
+
var tmp_2 = $this.k17(tag);
|
|
3114
3114
|
tmp$ret$2 = tmp_2 instanceof JsonNull;
|
|
3115
3115
|
tmp_1 = tmp$ret$2;
|
|
3116
3116
|
} else {
|
|
@@ -3122,7 +3122,7 @@
|
|
|
3122
3122
|
}
|
|
3123
3123
|
var tmp$ret$3;
|
|
3124
3124
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3125
|
-
var tmp_3 = $this.
|
|
3125
|
+
var tmp_3 = $this.k17(tag);
|
|
3126
3126
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3127
3127
|
tmp$ret$3 = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3128
3128
|
var tmp0_elvis_lhs = tmp$ret$3;
|
|
@@ -3149,30 +3149,30 @@
|
|
|
3149
3149
|
return tmp$ret$1;
|
|
3150
3150
|
}
|
|
3151
3151
|
function absenceIsNull($this, descriptor, index) {
|
|
3152
|
-
$this.
|
|
3153
|
-
return $this.
|
|
3152
|
+
$this.h18_1 = (!$this.e13().l11_1.w12_1 ? !descriptor.ym(index) : false) ? descriptor.vm(index).lm() : false;
|
|
3153
|
+
return $this.h18_1;
|
|
3154
3154
|
}
|
|
3155
3155
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
3156
3156
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
3157
3157
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3158
3158
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3159
|
-
this.
|
|
3160
|
-
this.
|
|
3161
|
-
this.
|
|
3162
|
-
this.
|
|
3163
|
-
this.
|
|
3159
|
+
this.d18_1 = value;
|
|
3160
|
+
this.e18_1 = polyDiscriminator;
|
|
3161
|
+
this.f18_1 = polyDescriptor;
|
|
3162
|
+
this.g18_1 = 0;
|
|
3163
|
+
this.h18_1 = false;
|
|
3164
3164
|
}
|
|
3165
3165
|
protoOf(JsonTreeDecoder).w = function () {
|
|
3166
|
-
return this.
|
|
3166
|
+
return this.d18_1;
|
|
3167
3167
|
};
|
|
3168
|
-
protoOf(JsonTreeDecoder).
|
|
3169
|
-
while (this.
|
|
3168
|
+
protoOf(JsonTreeDecoder).dp = function (descriptor) {
|
|
3169
|
+
while (this.g18_1 < descriptor.rm()) {
|
|
3170
3170
|
var tmp0_this = this;
|
|
3171
|
-
var tmp1 = tmp0_this.
|
|
3172
|
-
tmp0_this.
|
|
3173
|
-
var name = this.
|
|
3174
|
-
var index = this.
|
|
3175
|
-
this.
|
|
3171
|
+
var tmp1 = tmp0_this.g18_1;
|
|
3172
|
+
tmp0_this.g18_1 = tmp1 + 1 | 0;
|
|
3173
|
+
var name = this.bz(descriptor, tmp1);
|
|
3174
|
+
var index = this.g18_1 - 1 | 0;
|
|
3175
|
+
this.h18_1 = false;
|
|
3176
3176
|
var tmp;
|
|
3177
3177
|
var tmp_0;
|
|
3178
3178
|
var tmp$ret$1;
|
|
@@ -3188,7 +3188,7 @@
|
|
|
3188
3188
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3189
3189
|
}
|
|
3190
3190
|
if (tmp_0) {
|
|
3191
|
-
tmp = !this.
|
|
3191
|
+
tmp = !this.j17_1.y12_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
3192
3192
|
} else {
|
|
3193
3193
|
tmp = false;
|
|
3194
3194
|
}
|
|
@@ -3199,19 +3199,19 @@
|
|
|
3199
3199
|
Companion_getInstance();
|
|
3200
3200
|
return -1;
|
|
3201
3201
|
};
|
|
3202
|
-
protoOf(JsonTreeDecoder).
|
|
3203
|
-
return !this.
|
|
3202
|
+
protoOf(JsonTreeDecoder).xn = function () {
|
|
3203
|
+
return !this.h18_1 ? protoOf(AbstractJsonTreeDecoder).xn.call(this) : false;
|
|
3204
3204
|
};
|
|
3205
|
-
protoOf(JsonTreeDecoder).
|
|
3206
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3207
|
-
var baseName = descriptor.
|
|
3205
|
+
protoOf(JsonTreeDecoder).cz = function (descriptor, index) {
|
|
3206
|
+
var strategy = namingStrategy(descriptor, this.e13());
|
|
3207
|
+
var baseName = descriptor.xm(index);
|
|
3208
3208
|
if (strategy == null) {
|
|
3209
|
-
if (!this.
|
|
3209
|
+
if (!this.j17_1.c13_1)
|
|
3210
3210
|
return baseName;
|
|
3211
3211
|
if (this.w().n2().i1(baseName))
|
|
3212
3212
|
return baseName;
|
|
3213
3213
|
}
|
|
3214
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3214
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.e13(), descriptor);
|
|
3215
3215
|
var tmp$ret$2;
|
|
3216
3216
|
// Inline function 'kotlin.collections.find' call
|
|
3217
3217
|
var tmp0_find = this.w().n2();
|
|
@@ -3242,39 +3242,39 @@
|
|
|
3242
3242
|
return tmp0_safe_receiver;
|
|
3243
3243
|
}
|
|
3244
3244
|
var tmp1_safe_receiver = strategy;
|
|
3245
|
-
var fallbackName = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3245
|
+
var fallbackName = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k14(descriptor, index, baseName);
|
|
3246
3246
|
var tmp2_elvis_lhs = fallbackName;
|
|
3247
3247
|
return tmp2_elvis_lhs == null ? baseName : tmp2_elvis_lhs;
|
|
3248
3248
|
};
|
|
3249
|
-
protoOf(JsonTreeDecoder).
|
|
3249
|
+
protoOf(JsonTreeDecoder).k17 = function (tag) {
|
|
3250
3250
|
return getValue(this.w(), tag);
|
|
3251
3251
|
};
|
|
3252
|
-
protoOf(JsonTreeDecoder).
|
|
3253
|
-
if (descriptor === this.
|
|
3252
|
+
protoOf(JsonTreeDecoder).mo = function (descriptor) {
|
|
3253
|
+
if (descriptor === this.f18_1)
|
|
3254
3254
|
return this;
|
|
3255
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3255
|
+
return protoOf(AbstractJsonTreeDecoder).mo.call(this, descriptor);
|
|
3256
3256
|
};
|
|
3257
|
-
protoOf(JsonTreeDecoder).
|
|
3257
|
+
protoOf(JsonTreeDecoder).no = function (descriptor) {
|
|
3258
3258
|
var tmp;
|
|
3259
|
-
if (this.
|
|
3259
|
+
if (this.j17_1.s12_1) {
|
|
3260
3260
|
tmp = true;
|
|
3261
3261
|
} else {
|
|
3262
|
-
var tmp_0 = descriptor.
|
|
3262
|
+
var tmp_0 = descriptor.tm();
|
|
3263
3263
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3264
3264
|
}
|
|
3265
3265
|
if (tmp)
|
|
3266
3266
|
return Unit_getInstance();
|
|
3267
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3267
|
+
var strategy = namingStrategy(descriptor, this.e13());
|
|
3268
3268
|
var tmp_1;
|
|
3269
|
-
if (strategy == null ? !this.
|
|
3269
|
+
if (strategy == null ? !this.j17_1.c13_1 : false) {
|
|
3270
3270
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3271
3271
|
} else if (!(strategy == null)) {
|
|
3272
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3272
|
+
tmp_1 = deserializationNamesMap(this.e13(), descriptor).n2();
|
|
3273
3273
|
} else {
|
|
3274
3274
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3275
3275
|
var tmp$ret$0;
|
|
3276
3276
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3277
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3277
|
+
var tmp0_safe_receiver = get_schemaCache(this.e13()).k16(descriptor, get_JsonDeserializationNamesKey());
|
|
3278
3278
|
var tmp0_orEmpty = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n2();
|
|
3279
3279
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
3280
3280
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3284,48 +3284,48 @@
|
|
|
3284
3284
|
var tmp1_iterator = this.w().n2().c();
|
|
3285
3285
|
while (tmp1_iterator.d()) {
|
|
3286
3286
|
var key = tmp1_iterator.e();
|
|
3287
|
-
if (!names.i1(key) ? !(key === this.
|
|
3287
|
+
if (!names.i1(key) ? !(key === this.e18_1) : false) {
|
|
3288
3288
|
throw UnknownKeyException(key, this.w().toString());
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
3291
|
};
|
|
3292
3292
|
function JsonTreeListDecoder(json, value) {
|
|
3293
3293
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3294
|
-
this.
|
|
3295
|
-
this.
|
|
3296
|
-
this.
|
|
3294
|
+
this.n18_1 = value;
|
|
3295
|
+
this.o18_1 = this.n18_1.f();
|
|
3296
|
+
this.p18_1 = -1;
|
|
3297
3297
|
}
|
|
3298
3298
|
protoOf(JsonTreeListDecoder).w = function () {
|
|
3299
|
-
return this.
|
|
3299
|
+
return this.n18_1;
|
|
3300
3300
|
};
|
|
3301
|
-
protoOf(JsonTreeListDecoder).
|
|
3301
|
+
protoOf(JsonTreeListDecoder).cz = function (descriptor, index) {
|
|
3302
3302
|
return index.toString();
|
|
3303
3303
|
};
|
|
3304
|
-
protoOf(JsonTreeListDecoder).
|
|
3305
|
-
return this.
|
|
3304
|
+
protoOf(JsonTreeListDecoder).k17 = function (tag) {
|
|
3305
|
+
return this.n18_1.h(toInt(tag));
|
|
3306
3306
|
};
|
|
3307
|
-
protoOf(JsonTreeListDecoder).
|
|
3308
|
-
while (this.
|
|
3307
|
+
protoOf(JsonTreeListDecoder).dp = function (descriptor) {
|
|
3308
|
+
while (this.p18_1 < (this.o18_1 - 1 | 0)) {
|
|
3309
3309
|
var tmp0_this = this;
|
|
3310
|
-
var tmp1 = tmp0_this.
|
|
3311
|
-
tmp0_this.
|
|
3312
|
-
return this.
|
|
3310
|
+
var tmp1 = tmp0_this.p18_1;
|
|
3311
|
+
tmp0_this.p18_1 = tmp1 + 1 | 0;
|
|
3312
|
+
return this.p18_1;
|
|
3313
3313
|
}
|
|
3314
3314
|
Companion_getInstance();
|
|
3315
3315
|
return -1;
|
|
3316
3316
|
};
|
|
3317
3317
|
function JsonPrimitiveDecoder(json, value) {
|
|
3318
3318
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3319
|
-
this.
|
|
3320
|
-
this.
|
|
3319
|
+
this.v18_1 = value;
|
|
3320
|
+
this.vz(get_PRIMITIVE_TAG());
|
|
3321
3321
|
}
|
|
3322
3322
|
protoOf(JsonPrimitiveDecoder).w = function () {
|
|
3323
|
-
return this.
|
|
3323
|
+
return this.v18_1;
|
|
3324
3324
|
};
|
|
3325
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3325
|
+
protoOf(JsonPrimitiveDecoder).dp = function (descriptor) {
|
|
3326
3326
|
return 0;
|
|
3327
3327
|
};
|
|
3328
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3328
|
+
protoOf(JsonPrimitiveDecoder).k17 = function (tag) {
|
|
3329
3329
|
// Inline function 'kotlin.require' call
|
|
3330
3330
|
var tmp0_require = tag === get_PRIMITIVE_TAG();
|
|
3331
3331
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3336,39 +3336,39 @@
|
|
|
3336
3336
|
var message = tmp$ret$0;
|
|
3337
3337
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3338
3338
|
}
|
|
3339
|
-
return this.
|
|
3339
|
+
return this.v18_1;
|
|
3340
3340
|
};
|
|
3341
3341
|
function JsonTreeMapDecoder(json, value) {
|
|
3342
3342
|
JsonTreeDecoder.call(this, json, value);
|
|
3343
|
-
this.
|
|
3344
|
-
this.
|
|
3345
|
-
this.
|
|
3346
|
-
this.
|
|
3343
|
+
this.g19_1 = value;
|
|
3344
|
+
this.h19_1 = toList(this.g19_1.n2());
|
|
3345
|
+
this.i19_1 = imul(this.h19_1.f(), 2);
|
|
3346
|
+
this.j19_1 = -1;
|
|
3347
3347
|
}
|
|
3348
3348
|
protoOf(JsonTreeMapDecoder).w = function () {
|
|
3349
|
-
return this.
|
|
3349
|
+
return this.g19_1;
|
|
3350
3350
|
};
|
|
3351
|
-
protoOf(JsonTreeMapDecoder).
|
|
3351
|
+
protoOf(JsonTreeMapDecoder).cz = function (descriptor, index) {
|
|
3352
3352
|
var i = index / 2 | 0;
|
|
3353
|
-
return this.
|
|
3353
|
+
return this.h19_1.h(i);
|
|
3354
3354
|
};
|
|
3355
|
-
protoOf(JsonTreeMapDecoder).
|
|
3356
|
-
while (this.
|
|
3355
|
+
protoOf(JsonTreeMapDecoder).dp = function (descriptor) {
|
|
3356
|
+
while (this.j19_1 < (this.i19_1 - 1 | 0)) {
|
|
3357
3357
|
var tmp0_this = this;
|
|
3358
|
-
var tmp1 = tmp0_this.
|
|
3359
|
-
tmp0_this.
|
|
3360
|
-
return this.
|
|
3358
|
+
var tmp1 = tmp0_this.j19_1;
|
|
3359
|
+
tmp0_this.j19_1 = tmp1 + 1 | 0;
|
|
3360
|
+
return this.j19_1;
|
|
3361
3361
|
}
|
|
3362
3362
|
Companion_getInstance();
|
|
3363
3363
|
return -1;
|
|
3364
3364
|
};
|
|
3365
|
-
protoOf(JsonTreeMapDecoder).
|
|
3366
|
-
return (this.
|
|
3365
|
+
protoOf(JsonTreeMapDecoder).k17 = function (tag) {
|
|
3366
|
+
return (this.j19_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.g19_1, tag);
|
|
3367
3367
|
};
|
|
3368
|
-
protoOf(JsonTreeMapDecoder).
|
|
3368
|
+
protoOf(JsonTreeMapDecoder).no = function (descriptor) {
|
|
3369
3369
|
};
|
|
3370
3370
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3371
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3371
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.ol())).lo(deserializer);
|
|
3372
3372
|
}
|
|
3373
3373
|
function get_PRIMITIVE_TAG() {
|
|
3374
3374
|
return PRIMITIVE_TAG;
|
|
@@ -3390,11 +3390,11 @@
|
|
|
3390
3390
|
}
|
|
3391
3391
|
function WriteMode(name, ordinal, begin, end) {
|
|
3392
3392
|
Enum.call(this, name, ordinal);
|
|
3393
|
-
this.
|
|
3394
|
-
this.
|
|
3393
|
+
this.x16_1 = begin;
|
|
3394
|
+
this.y16_1 = end;
|
|
3395
3395
|
}
|
|
3396
3396
|
function switchMode(_this__u8e3s4, desc) {
|
|
3397
|
-
var tmp0_subject = desc.
|
|
3397
|
+
var tmp0_subject = desc.tm();
|
|
3398
3398
|
var tmp;
|
|
3399
3399
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3400
3400
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3405,8 +3405,8 @@
|
|
|
3405
3405
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3406
3406
|
var tmp$ret$2;
|
|
3407
3407
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3408
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3409
|
-
var keyKind = keyDescriptor.
|
|
3408
|
+
var keyDescriptor = carrierDescriptor(desc.vm(0), _this__u8e3s4.bp());
|
|
3409
|
+
var keyKind = keyDescriptor.tm();
|
|
3410
3410
|
var tmp_0;
|
|
3411
3411
|
var tmp_1;
|
|
3412
3412
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3420,7 +3420,7 @@
|
|
|
3420
3420
|
tmp$ret$0 = WriteMode_MAP_getInstance();
|
|
3421
3421
|
tmp_0 = tmp$ret$0;
|
|
3422
3422
|
} else {
|
|
3423
|
-
if (_this__u8e3s4.
|
|
3423
|
+
if (_this__u8e3s4.l11_1.u12_1) {
|
|
3424
3424
|
var tmp$ret$1;
|
|
3425
3425
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3426
3426
|
tmp$ret$1 = WriteMode_LIST_getInstance();
|
|
@@ -3440,12 +3440,12 @@
|
|
|
3440
3440
|
}
|
|
3441
3441
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
3442
3442
|
var tmp;
|
|
3443
|
-
if (equals(_this__u8e3s4.
|
|
3443
|
+
if (equals(_this__u8e3s4.tm(), CONTEXTUAL_getInstance())) {
|
|
3444
3444
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
3445
3445
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
3446
3446
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
3447
|
-
} else if (_this__u8e3s4.
|
|
3448
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
3447
|
+
} else if (_this__u8e3s4.sm()) {
|
|
3448
|
+
tmp = carrierDescriptor(_this__u8e3s4.vm(0), module_0);
|
|
3449
3449
|
} else {
|
|
3450
3450
|
tmp = _this__u8e3s4;
|
|
3451
3451
|
}
|
|
@@ -3472,61 +3472,61 @@
|
|
|
3472
3472
|
}
|
|
3473
3473
|
var STRING;
|
|
3474
3474
|
function appendEscape($this, lastPosition, current) {
|
|
3475
|
-
$this.
|
|
3475
|
+
$this.k19(lastPosition, current);
|
|
3476
3476
|
return appendEsc($this, current + 1 | 0);
|
|
3477
3477
|
}
|
|
3478
3478
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3479
|
-
$this.
|
|
3480
|
-
var result = $this.
|
|
3481
|
-
$this.
|
|
3479
|
+
$this.k19(lastPosition, currentPosition);
|
|
3480
|
+
var result = $this.b12_1.toString();
|
|
3481
|
+
$this.b12_1.pd(0);
|
|
3482
3482
|
return result;
|
|
3483
3483
|
}
|
|
3484
3484
|
function takePeeked($this) {
|
|
3485
3485
|
var tmp$ret$0;
|
|
3486
3486
|
// Inline function 'kotlin.also' call
|
|
3487
|
-
var tmp0_also = ensureNotNull($this.
|
|
3487
|
+
var tmp0_also = ensureNotNull($this.a12_1);
|
|
3488
3488
|
// Inline function 'kotlin.contracts.contract' call
|
|
3489
3489
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3490
|
-
$this.
|
|
3490
|
+
$this.a12_1 = null;
|
|
3491
3491
|
tmp$ret$0 = tmp0_also;
|
|
3492
3492
|
return tmp$ret$0;
|
|
3493
3493
|
}
|
|
3494
3494
|
function wasUnquotedString($this) {
|
|
3495
|
-
return !equals(new Char(charSequenceGet($this.
|
|
3495
|
+
return !equals(new Char(charSequenceGet($this.l19(), $this.y11_1 - 1 | 0)), new Char(_Char___init__impl__6a9atx(34)));
|
|
3496
3496
|
}
|
|
3497
3497
|
function appendEsc($this, startPosition) {
|
|
3498
3498
|
var currentPosition = startPosition;
|
|
3499
|
-
currentPosition = $this.
|
|
3499
|
+
currentPosition = $this.m19(currentPosition);
|
|
3500
3500
|
if (currentPosition === -1) {
|
|
3501
|
-
$this.
|
|
3501
|
+
$this.g14('Expected escape sequence to continue, got EOF');
|
|
3502
3502
|
}
|
|
3503
|
-
var tmp = $this.
|
|
3503
|
+
var tmp = $this.l19();
|
|
3504
3504
|
var tmp0 = currentPosition;
|
|
3505
3505
|
currentPosition = tmp0 + 1 | 0;
|
|
3506
3506
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3507
3507
|
if (equals(new Char(currentChar), new Char(_Char___init__impl__6a9atx(117)))) {
|
|
3508
|
-
return appendHex($this, $this.
|
|
3508
|
+
return appendHex($this, $this.l19(), currentPosition);
|
|
3509
3509
|
}
|
|
3510
3510
|
var tmp$ret$0;
|
|
3511
3511
|
// Inline function 'kotlin.code' call
|
|
3512
3512
|
tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3513
3513
|
var c = escapeToChar(tmp$ret$0);
|
|
3514
3514
|
if (equals(new Char(c), new Char(_Char___init__impl__6a9atx(0)))) {
|
|
3515
|
-
$this.
|
|
3515
|
+
$this.g14("Invalid escaped char '" + new Char(currentChar) + "'");
|
|
3516
3516
|
}
|
|
3517
|
-
$this.
|
|
3517
|
+
$this.b12_1.x4(c);
|
|
3518
3518
|
return currentPosition;
|
|
3519
3519
|
}
|
|
3520
3520
|
function appendHex($this, source, startPos) {
|
|
3521
3521
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3522
|
-
$this.
|
|
3523
|
-
$this.
|
|
3524
|
-
if (($this.
|
|
3525
|
-
$this.
|
|
3522
|
+
$this.y11_1 = startPos;
|
|
3523
|
+
$this.n19();
|
|
3524
|
+
if (($this.y11_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3525
|
+
$this.g14('Unexpected EOF during unicode escape');
|
|
3526
3526
|
}
|
|
3527
|
-
return appendHex($this, source, $this.
|
|
3527
|
+
return appendHex($this, source, $this.y11_1);
|
|
3528
3528
|
}
|
|
3529
|
-
$this.
|
|
3529
|
+
$this.b12_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));
|
|
3530
3530
|
return startPos + 4 | 0;
|
|
3531
3531
|
}
|
|
3532
3532
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3560,18 +3560,18 @@
|
|
|
3560
3560
|
tmp$ret$5 = 65;
|
|
3561
3561
|
tmp = (tmp_2 - tmp$ret$5 | 0) + 10 | 0;
|
|
3562
3562
|
} else {
|
|
3563
|
-
$this.
|
|
3563
|
+
$this.g14("Invalid toHexChar char '" + new Char(character) + "' in unicode escape");
|
|
3564
3564
|
}
|
|
3565
3565
|
return tmp;
|
|
3566
3566
|
}
|
|
3567
3567
|
function consumeBoolean($this, start) {
|
|
3568
|
-
var current = $this.
|
|
3569
|
-
if (current >= charSequenceLength($this.
|
|
3570
|
-
$this.
|
|
3568
|
+
var current = $this.m19(start);
|
|
3569
|
+
if (current >= charSequenceLength($this.l19()) ? true : current === -1) {
|
|
3570
|
+
$this.g14('EOF');
|
|
3571
3571
|
}
|
|
3572
3572
|
var tmp$ret$0;
|
|
3573
3573
|
// Inline function 'kotlin.code' call
|
|
3574
|
-
var tmp = $this.
|
|
3574
|
+
var tmp = $this.l19();
|
|
3575
3575
|
var tmp0 = current;
|
|
3576
3576
|
current = tmp0 + 1 | 0;
|
|
3577
3577
|
var tmp0__get_code__88qj9g = charSequenceGet(tmp, tmp0);
|
|
@@ -3592,14 +3592,14 @@
|
|
|
3592
3592
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3593
3593
|
tmp_0 = false;
|
|
3594
3594
|
} else {
|
|
3595
|
-
$this.
|
|
3595
|
+
$this.g14("Expected valid boolean literal prefix, but had '" + $this.b15() + "'");
|
|
3596
3596
|
}
|
|
3597
3597
|
}
|
|
3598
3598
|
return tmp_0;
|
|
3599
3599
|
}
|
|
3600
3600
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
3601
|
-
if ((charSequenceLength($this.
|
|
3602
|
-
$this.
|
|
3601
|
+
if ((charSequenceLength($this.l19()) - current | 0) < literalSuffix.length) {
|
|
3602
|
+
$this.g14('Unexpected end of boolean literal');
|
|
3603
3603
|
}
|
|
3604
3604
|
var inductionVariable = 0;
|
|
3605
3605
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -3608,7 +3608,7 @@
|
|
|
3608
3608
|
var i = inductionVariable;
|
|
3609
3609
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3610
3610
|
var expected = charSequenceGet(literalSuffix, i);
|
|
3611
|
-
var actual = charSequenceGet($this.
|
|
3611
|
+
var actual = charSequenceGet($this.l19(), current + i | 0);
|
|
3612
3612
|
var tmp$ret$0;
|
|
3613
3613
|
// Inline function 'kotlin.code' call
|
|
3614
3614
|
tmp$ret$0 = Char__toInt_impl_vasixd(expected);
|
|
@@ -3617,43 +3617,43 @@
|
|
|
3617
3617
|
// Inline function 'kotlin.code' call
|
|
3618
3618
|
tmp$ret$1 = Char__toInt_impl_vasixd(actual);
|
|
3619
3619
|
if (!(tmp === (tmp$ret$1 | 32))) {
|
|
3620
|
-
$this.
|
|
3620
|
+
$this.g14("Expected valid boolean literal prefix, but had '" + $this.b15() + "'");
|
|
3621
3621
|
}
|
|
3622
3622
|
}
|
|
3623
3623
|
while (inductionVariable <= last);
|
|
3624
|
-
$this.
|
|
3624
|
+
$this.y11_1 = current + literalSuffix.length | 0;
|
|
3625
3625
|
}
|
|
3626
3626
|
function AbstractJsonLexer() {
|
|
3627
|
-
this.
|
|
3628
|
-
this.
|
|
3629
|
-
this.
|
|
3630
|
-
this.
|
|
3627
|
+
this.y11_1 = 0;
|
|
3628
|
+
this.z11_1 = new JsonPath();
|
|
3629
|
+
this.a12_1 = null;
|
|
3630
|
+
this.b12_1 = StringBuilder_init_$Create$();
|
|
3631
3631
|
}
|
|
3632
|
-
protoOf(AbstractJsonLexer).
|
|
3632
|
+
protoOf(AbstractJsonLexer).n19 = function () {
|
|
3633
3633
|
};
|
|
3634
|
-
protoOf(AbstractJsonLexer).
|
|
3634
|
+
protoOf(AbstractJsonLexer).o19 = function (c) {
|
|
3635
3635
|
var tmp0_subject = c;
|
|
3636
3636
|
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;
|
|
3637
3637
|
};
|
|
3638
|
-
protoOf(AbstractJsonLexer).
|
|
3639
|
-
var nextToken = this.
|
|
3638
|
+
protoOf(AbstractJsonLexer).c12 = function () {
|
|
3639
|
+
var nextToken = this.d15();
|
|
3640
3640
|
if (!(nextToken === 10)) {
|
|
3641
|
-
this.
|
|
3641
|
+
this.g14('Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.l19(), this.y11_1 - 1 | 0)) + ' instead');
|
|
3642
3642
|
}
|
|
3643
3643
|
};
|
|
3644
|
-
protoOf(AbstractJsonLexer).
|
|
3645
|
-
var token = this.
|
|
3644
|
+
protoOf(AbstractJsonLexer).x14 = function (expected) {
|
|
3645
|
+
var token = this.d15();
|
|
3646
3646
|
if (!(token === expected)) {
|
|
3647
|
-
this.
|
|
3647
|
+
this.p19(expected);
|
|
3648
3648
|
}
|
|
3649
3649
|
return token;
|
|
3650
3650
|
};
|
|
3651
|
-
protoOf(AbstractJsonLexer).
|
|
3652
|
-
this.
|
|
3653
|
-
var source = this.
|
|
3654
|
-
var cpos = this.
|
|
3651
|
+
protoOf(AbstractJsonLexer).m16 = function (expected) {
|
|
3652
|
+
this.n19();
|
|
3653
|
+
var source = this.l19();
|
|
3654
|
+
var cpos = this.y11_1;
|
|
3655
3655
|
$l$loop_0: while (true) {
|
|
3656
|
-
cpos = this.
|
|
3656
|
+
cpos = this.m19(cpos);
|
|
3657
3657
|
if (cpos === -1)
|
|
3658
3658
|
break $l$loop_0;
|
|
3659
3659
|
var tmp0 = cpos;
|
|
@@ -3661,33 +3661,33 @@
|
|
|
3661
3661
|
var c = charSequenceGet(source, tmp0);
|
|
3662
3662
|
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))))
|
|
3663
3663
|
continue $l$loop_0;
|
|
3664
|
-
this.
|
|
3664
|
+
this.y11_1 = cpos;
|
|
3665
3665
|
if (equals(new Char(c), new Char(expected)))
|
|
3666
3666
|
return Unit_getInstance();
|
|
3667
|
-
this.
|
|
3667
|
+
this.q19(expected);
|
|
3668
3668
|
}
|
|
3669
|
-
this.
|
|
3670
|
-
this.
|
|
3669
|
+
this.y11_1 = cpos;
|
|
3670
|
+
this.q19(expected);
|
|
3671
3671
|
};
|
|
3672
|
-
protoOf(AbstractJsonLexer).
|
|
3672
|
+
protoOf(AbstractJsonLexer).q19 = function (expected) {
|
|
3673
3673
|
var tmp0_this = this;
|
|
3674
|
-
tmp0_this.
|
|
3675
|
-
if ((this.
|
|
3676
|
-
this.
|
|
3674
|
+
tmp0_this.y11_1 = tmp0_this.y11_1 - 1 | 0;
|
|
3675
|
+
if ((this.y11_1 >= 0 ? equals(new Char(expected), new Char(_Char___init__impl__6a9atx(34))) : false) ? this.b15() === 'null' : false) {
|
|
3676
|
+
this.r19("Expected string literal but 'null' literal was found", this.y11_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.");
|
|
3677
3677
|
}
|
|
3678
|
-
this.
|
|
3678
|
+
this.p19(charToTokenClass(expected));
|
|
3679
3679
|
};
|
|
3680
|
-
protoOf(AbstractJsonLexer).
|
|
3680
|
+
protoOf(AbstractJsonLexer).p19 = function (expectedToken) {
|
|
3681
3681
|
var tmp0_subject = expectedToken;
|
|
3682
3682
|
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';
|
|
3683
|
-
var s = (this.
|
|
3684
|
-
this.
|
|
3683
|
+
var s = (this.y11_1 === charSequenceLength(this.l19()) ? true : this.y11_1 <= 0) ? 'EOF' : toString_0(charSequenceGet(this.l19(), this.y11_1 - 1 | 0));
|
|
3684
|
+
this.g14('Expected ' + expected + ", but had '" + s + "' instead", this.y11_1 - 1 | 0);
|
|
3685
3685
|
};
|
|
3686
|
-
protoOf(AbstractJsonLexer).
|
|
3687
|
-
var source = this.
|
|
3688
|
-
var cpos = this.
|
|
3686
|
+
protoOf(AbstractJsonLexer).y14 = function () {
|
|
3687
|
+
var source = this.l19();
|
|
3688
|
+
var cpos = this.y11_1;
|
|
3689
3689
|
$l$loop_0: while (true) {
|
|
3690
|
-
cpos = this.
|
|
3690
|
+
cpos = this.m19(cpos);
|
|
3691
3691
|
if (cpos === -1)
|
|
3692
3692
|
break $l$loop_0;
|
|
3693
3693
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -3695,16 +3695,16 @@
|
|
|
3695
3695
|
cpos = cpos + 1 | 0;
|
|
3696
3696
|
continue $l$loop_0;
|
|
3697
3697
|
}
|
|
3698
|
-
this.
|
|
3698
|
+
this.y11_1 = cpos;
|
|
3699
3699
|
return charToTokenClass(ch);
|
|
3700
3700
|
}
|
|
3701
|
-
this.
|
|
3701
|
+
this.y11_1 = cpos;
|
|
3702
3702
|
return 10;
|
|
3703
3703
|
};
|
|
3704
|
-
protoOf(AbstractJsonLexer).
|
|
3705
|
-
var current = this.
|
|
3706
|
-
current = this.
|
|
3707
|
-
var len = charSequenceLength(this.
|
|
3704
|
+
protoOf(AbstractJsonLexer).o16 = function (doConsume) {
|
|
3705
|
+
var current = this.s19();
|
|
3706
|
+
current = this.m19(current);
|
|
3707
|
+
var len = charSequenceLength(this.l19()) - current | 0;
|
|
3708
3708
|
if (len < 4 ? true : current === -1)
|
|
3709
3709
|
return false;
|
|
3710
3710
|
var inductionVariable = 0;
|
|
@@ -3712,65 +3712,65 @@
|
|
|
3712
3712
|
do {
|
|
3713
3713
|
var i = inductionVariable;
|
|
3714
3714
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3715
|
-
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.
|
|
3715
|
+
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.l19(), current + i | 0))))
|
|
3716
3716
|
return false;
|
|
3717
3717
|
}
|
|
3718
3718
|
while (inductionVariable <= 3);
|
|
3719
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
3719
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.l19(), current + 4 | 0)) === 0 : false)
|
|
3720
3720
|
return false;
|
|
3721
3721
|
if (doConsume) {
|
|
3722
|
-
this.
|
|
3722
|
+
this.y11_1 = current + 4 | 0;
|
|
3723
3723
|
}
|
|
3724
3724
|
return true;
|
|
3725
3725
|
};
|
|
3726
|
-
protoOf(AbstractJsonLexer).
|
|
3726
|
+
protoOf(AbstractJsonLexer).z16 = function (doConsume, $super) {
|
|
3727
3727
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
3728
|
-
return $super === VOID ? this.
|
|
3728
|
+
return $super === VOID ? this.o16(doConsume) : $super.o16.call(this, doConsume);
|
|
3729
3729
|
};
|
|
3730
|
-
protoOf(AbstractJsonLexer).
|
|
3731
|
-
var current = this.
|
|
3730
|
+
protoOf(AbstractJsonLexer).s19 = function () {
|
|
3731
|
+
var current = this.y11_1;
|
|
3732
3732
|
$l$loop_0: while (true) {
|
|
3733
|
-
current = this.
|
|
3733
|
+
current = this.m19(current);
|
|
3734
3734
|
if (current === -1)
|
|
3735
3735
|
break $l$loop_0;
|
|
3736
|
-
var c = charSequenceGet(this.
|
|
3736
|
+
var c = charSequenceGet(this.l19(), current);
|
|
3737
3737
|
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)))) {
|
|
3738
3738
|
current = current + 1 | 0;
|
|
3739
3739
|
} else {
|
|
3740
3740
|
break $l$loop_0;
|
|
3741
3741
|
}
|
|
3742
3742
|
}
|
|
3743
|
-
this.
|
|
3743
|
+
this.y11_1 = current;
|
|
3744
3744
|
return current;
|
|
3745
3745
|
};
|
|
3746
|
-
protoOf(AbstractJsonLexer).
|
|
3747
|
-
var token = this.
|
|
3746
|
+
protoOf(AbstractJsonLexer).p16 = function (isLenient) {
|
|
3747
|
+
var token = this.y14();
|
|
3748
3748
|
var tmp;
|
|
3749
3749
|
if (isLenient) {
|
|
3750
3750
|
if (!(token === 1) ? !(token === 0) : false)
|
|
3751
3751
|
return null;
|
|
3752
|
-
tmp = this.
|
|
3752
|
+
tmp = this.b15();
|
|
3753
3753
|
} else {
|
|
3754
3754
|
if (!(token === 1))
|
|
3755
3755
|
return null;
|
|
3756
|
-
tmp = this.
|
|
3756
|
+
tmp = this.a15();
|
|
3757
3757
|
}
|
|
3758
3758
|
var string = tmp;
|
|
3759
|
-
this.
|
|
3759
|
+
this.a12_1 = string;
|
|
3760
3760
|
return string;
|
|
3761
3761
|
};
|
|
3762
|
-
protoOf(AbstractJsonLexer).
|
|
3762
|
+
protoOf(AbstractJsonLexer).t19 = function (startPos, endPos) {
|
|
3763
3763
|
var tmp$ret$0;
|
|
3764
3764
|
// Inline function 'kotlin.text.substring' call
|
|
3765
|
-
var tmp0_substring = this.
|
|
3765
|
+
var tmp0_substring = this.l19();
|
|
3766
3766
|
tmp$ret$0 = toString(charSequenceSubSequence(tmp0_substring, startPos, endPos));
|
|
3767
3767
|
return tmp$ret$0;
|
|
3768
3768
|
};
|
|
3769
|
-
protoOf(AbstractJsonLexer).
|
|
3770
|
-
if (!(this.
|
|
3769
|
+
protoOf(AbstractJsonLexer).a15 = function () {
|
|
3770
|
+
if (!(this.a12_1 == null)) {
|
|
3771
3771
|
return takePeeked(this);
|
|
3772
3772
|
}
|
|
3773
|
-
return this.
|
|
3773
|
+
return this.s16();
|
|
3774
3774
|
};
|
|
3775
3775
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
3776
3776
|
var currentPosition = current;
|
|
@@ -3780,19 +3780,19 @@
|
|
|
3780
3780
|
while (!equals(new Char(char), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3781
3781
|
if (equals(new Char(char), new Char(_Char___init__impl__6a9atx(92)))) {
|
|
3782
3782
|
usedAppend = true;
|
|
3783
|
-
currentPosition = this.
|
|
3783
|
+
currentPosition = this.m19(appendEscape(this, lastPosition, currentPosition));
|
|
3784
3784
|
if (currentPosition === -1) {
|
|
3785
|
-
this.
|
|
3785
|
+
this.g14('EOF', currentPosition);
|
|
3786
3786
|
}
|
|
3787
3787
|
lastPosition = currentPosition;
|
|
3788
3788
|
} else {
|
|
3789
3789
|
currentPosition = currentPosition + 1 | 0;
|
|
3790
3790
|
if (currentPosition >= charSequenceLength(source)) {
|
|
3791
3791
|
usedAppend = true;
|
|
3792
|
-
this.
|
|
3793
|
-
currentPosition = this.
|
|
3792
|
+
this.k19(lastPosition, currentPosition);
|
|
3793
|
+
currentPosition = this.m19(currentPosition);
|
|
3794
3794
|
if (currentPosition === -1) {
|
|
3795
|
-
this.
|
|
3795
|
+
this.g14('EOF', currentPosition);
|
|
3796
3796
|
}
|
|
3797
3797
|
lastPosition = currentPosition;
|
|
3798
3798
|
}
|
|
@@ -3801,45 +3801,45 @@
|
|
|
3801
3801
|
}
|
|
3802
3802
|
var tmp;
|
|
3803
3803
|
if (!usedAppend) {
|
|
3804
|
-
tmp = this.
|
|
3804
|
+
tmp = this.t19(lastPosition, currentPosition);
|
|
3805
3805
|
} else {
|
|
3806
3806
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
3807
3807
|
}
|
|
3808
3808
|
var string = tmp;
|
|
3809
|
-
this.
|
|
3809
|
+
this.y11_1 = currentPosition + 1 | 0;
|
|
3810
3810
|
return string;
|
|
3811
3811
|
};
|
|
3812
|
-
protoOf(AbstractJsonLexer).
|
|
3813
|
-
var result = this.
|
|
3812
|
+
protoOf(AbstractJsonLexer).t16 = function () {
|
|
3813
|
+
var result = this.b15();
|
|
3814
3814
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
3815
|
-
this.
|
|
3815
|
+
this.g14("Unexpected 'null' value instead of string literal");
|
|
3816
3816
|
}
|
|
3817
3817
|
return result;
|
|
3818
3818
|
};
|
|
3819
|
-
protoOf(AbstractJsonLexer).
|
|
3820
|
-
if (!(this.
|
|
3819
|
+
protoOf(AbstractJsonLexer).b15 = function () {
|
|
3820
|
+
if (!(this.a12_1 == null)) {
|
|
3821
3821
|
return takePeeked(this);
|
|
3822
3822
|
}
|
|
3823
|
-
var current = this.
|
|
3824
|
-
if (current >= charSequenceLength(this.
|
|
3825
|
-
this.
|
|
3823
|
+
var current = this.s19();
|
|
3824
|
+
if (current >= charSequenceLength(this.l19()) ? true : current === -1) {
|
|
3825
|
+
this.g14('EOF', current);
|
|
3826
3826
|
}
|
|
3827
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
3827
|
+
var token = charToTokenClass(charSequenceGet(this.l19(), current));
|
|
3828
3828
|
if (token === 1) {
|
|
3829
|
-
return this.
|
|
3829
|
+
return this.a15();
|
|
3830
3830
|
}
|
|
3831
3831
|
if (!(token === 0)) {
|
|
3832
|
-
this.
|
|
3832
|
+
this.g14('Expected beginning of the string, but got ' + new Char(charSequenceGet(this.l19(), current)));
|
|
3833
3833
|
}
|
|
3834
3834
|
var usedAppend = false;
|
|
3835
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
3835
|
+
while (charToTokenClass(charSequenceGet(this.l19(), current)) === 0) {
|
|
3836
3836
|
current = current + 1 | 0;
|
|
3837
|
-
if (current >= charSequenceLength(this.
|
|
3837
|
+
if (current >= charSequenceLength(this.l19())) {
|
|
3838
3838
|
usedAppend = true;
|
|
3839
|
-
this.
|
|
3840
|
-
var eof = this.
|
|
3839
|
+
this.k19(this.y11_1, current);
|
|
3840
|
+
var eof = this.m19(current);
|
|
3841
3841
|
if (eof === -1) {
|
|
3842
|
-
this.
|
|
3842
|
+
this.y11_1 = current;
|
|
3843
3843
|
return decodedString(this, 0, 0);
|
|
3844
3844
|
} else {
|
|
3845
3845
|
current = eof;
|
|
@@ -3848,34 +3848,34 @@
|
|
|
3848
3848
|
}
|
|
3849
3849
|
var tmp;
|
|
3850
3850
|
if (!usedAppend) {
|
|
3851
|
-
tmp = this.
|
|
3851
|
+
tmp = this.t19(this.y11_1, current);
|
|
3852
3852
|
} else {
|
|
3853
|
-
tmp = decodedString(this, this.
|
|
3853
|
+
tmp = decodedString(this, this.y11_1, current);
|
|
3854
3854
|
}
|
|
3855
3855
|
var result = tmp;
|
|
3856
|
-
this.
|
|
3856
|
+
this.y11_1 = current;
|
|
3857
3857
|
return result;
|
|
3858
3858
|
};
|
|
3859
|
-
protoOf(AbstractJsonLexer).
|
|
3860
|
-
this.
|
|
3859
|
+
protoOf(AbstractJsonLexer).k19 = function (fromIndex, toIndex) {
|
|
3860
|
+
this.b12_1.od(this.l19(), fromIndex, toIndex);
|
|
3861
3861
|
};
|
|
3862
|
-
protoOf(AbstractJsonLexer).
|
|
3862
|
+
protoOf(AbstractJsonLexer).r16 = function (allowLenientStrings) {
|
|
3863
3863
|
var tmp$ret$0;
|
|
3864
3864
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3865
3865
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
3866
3866
|
var tokenStack = tmp$ret$0;
|
|
3867
|
-
var lastToken = this.
|
|
3867
|
+
var lastToken = this.y14();
|
|
3868
3868
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
3869
|
-
this.
|
|
3869
|
+
this.b15();
|
|
3870
3870
|
return Unit_getInstance();
|
|
3871
3871
|
}
|
|
3872
3872
|
$l$loop: while (true) {
|
|
3873
|
-
lastToken = this.
|
|
3873
|
+
lastToken = this.y14();
|
|
3874
3874
|
if (lastToken === 1) {
|
|
3875
3875
|
if (allowLenientStrings) {
|
|
3876
|
-
this.
|
|
3876
|
+
this.b15();
|
|
3877
3877
|
} else {
|
|
3878
|
-
this.
|
|
3878
|
+
this.s16();
|
|
3879
3879
|
}
|
|
3880
3880
|
continue $l$loop;
|
|
3881
3881
|
}
|
|
@@ -3884,29 +3884,29 @@
|
|
|
3884
3884
|
tokenStack.a(lastToken);
|
|
3885
3885
|
} else if (tmp0_subject === 9) {
|
|
3886
3886
|
if (!(last(tokenStack) === 8))
|
|
3887
|
-
throw JsonDecodingException_0(this.
|
|
3887
|
+
throw JsonDecodingException_0(this.y11_1, 'found ] instead of } at path: ' + this.z11_1, this.l19());
|
|
3888
3888
|
removeLast(tokenStack);
|
|
3889
3889
|
} else if (tmp0_subject === 7) {
|
|
3890
3890
|
if (!(last(tokenStack) === 6))
|
|
3891
|
-
throw JsonDecodingException_0(this.
|
|
3891
|
+
throw JsonDecodingException_0(this.y11_1, 'found } instead of ] at path: ' + this.z11_1, this.l19());
|
|
3892
3892
|
removeLast(tokenStack);
|
|
3893
3893
|
} else if (tmp0_subject === 10) {
|
|
3894
|
-
this.
|
|
3894
|
+
this.g14('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
3895
3895
|
}
|
|
3896
|
-
this.
|
|
3896
|
+
this.d15();
|
|
3897
3897
|
if (tokenStack.f() === 0)
|
|
3898
3898
|
return Unit_getInstance();
|
|
3899
3899
|
}
|
|
3900
3900
|
};
|
|
3901
3901
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
3902
|
-
return "JsonReader(source='" + this.
|
|
3902
|
+
return "JsonReader(source='" + this.l19() + "', currentPosition=" + this.y11_1 + ')';
|
|
3903
3903
|
};
|
|
3904
|
-
protoOf(AbstractJsonLexer).
|
|
3905
|
-
var processed = this.
|
|
3904
|
+
protoOf(AbstractJsonLexer).q16 = function (key) {
|
|
3905
|
+
var processed = this.t19(0, this.y11_1);
|
|
3906
3906
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
3907
|
-
this.
|
|
3907
|
+
this.r19("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
3908
3908
|
};
|
|
3909
|
-
protoOf(AbstractJsonLexer).
|
|
3909
|
+
protoOf(AbstractJsonLexer).r19 = function (message, position, hint) {
|
|
3910
3910
|
var tmp;
|
|
3911
3911
|
var tmp$ret$0;
|
|
3912
3912
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -3917,24 +3917,24 @@
|
|
|
3917
3917
|
tmp = '\n' + hint;
|
|
3918
3918
|
}
|
|
3919
3919
|
var hintMessage = tmp;
|
|
3920
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
3920
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.z11_1.t14() + hintMessage, this.l19());
|
|
3921
3921
|
};
|
|
3922
|
-
protoOf(AbstractJsonLexer).
|
|
3923
|
-
position = position === VOID ? this.
|
|
3922
|
+
protoOf(AbstractJsonLexer).g14 = function (message, position, hint, $super) {
|
|
3923
|
+
position = position === VOID ? this.y11_1 : position;
|
|
3924
3924
|
hint = hint === VOID ? '' : hint;
|
|
3925
|
-
return $super === VOID ? this.
|
|
3925
|
+
return $super === VOID ? this.r19(message, position, hint) : $super.r19.call(this, message, position, hint);
|
|
3926
3926
|
};
|
|
3927
|
-
protoOf(AbstractJsonLexer).
|
|
3928
|
-
var current = this.
|
|
3929
|
-
current = this.
|
|
3930
|
-
if (current >= charSequenceLength(this.
|
|
3931
|
-
this.
|
|
3927
|
+
protoOf(AbstractJsonLexer).c17 = function () {
|
|
3928
|
+
var current = this.s19();
|
|
3929
|
+
current = this.m19(current);
|
|
3930
|
+
if (current >= charSequenceLength(this.l19()) ? true : current === -1) {
|
|
3931
|
+
this.g14('EOF');
|
|
3932
3932
|
}
|
|
3933
3933
|
var tmp;
|
|
3934
|
-
if (equals(new Char(charSequenceGet(this.
|
|
3934
|
+
if (equals(new Char(charSequenceGet(this.l19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3935
3935
|
current = current + 1 | 0;
|
|
3936
|
-
if (current === charSequenceLength(this.
|
|
3937
|
-
this.
|
|
3936
|
+
if (current === charSequenceLength(this.l19())) {
|
|
3937
|
+
this.g14('EOF');
|
|
3938
3938
|
}
|
|
3939
3939
|
tmp = true;
|
|
3940
3940
|
} else {
|
|
@@ -3946,10 +3946,10 @@
|
|
|
3946
3946
|
var start = current;
|
|
3947
3947
|
var hasChars = true;
|
|
3948
3948
|
$l$loop_0: while (hasChars) {
|
|
3949
|
-
var ch = charSequenceGet(this.
|
|
3949
|
+
var ch = charSequenceGet(this.l19(), current);
|
|
3950
3950
|
if (equals(new Char(ch), new Char(_Char___init__impl__6a9atx(45)))) {
|
|
3951
3951
|
if (!(current === start)) {
|
|
3952
|
-
this.
|
|
3952
|
+
this.g14("Unexpected symbol '-' in numeric literal");
|
|
3953
3953
|
}
|
|
3954
3954
|
isNegative = true;
|
|
3955
3955
|
current = current + 1 | 0;
|
|
@@ -3959,10 +3959,10 @@
|
|
|
3959
3959
|
if (!(token === 0))
|
|
3960
3960
|
break $l$loop_0;
|
|
3961
3961
|
current = current + 1 | 0;
|
|
3962
|
-
hasChars = !(current === charSequenceLength(this.
|
|
3962
|
+
hasChars = !(current === charSequenceLength(this.l19()));
|
|
3963
3963
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
3964
3964
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
3965
|
-
this.
|
|
3965
|
+
this.g14("Unexpected symbol '" + new Char(ch) + "' in numeric literal");
|
|
3966
3966
|
}
|
|
3967
3967
|
var tmp$ret$1;
|
|
3968
3968
|
// Inline function 'kotlin.Long.minus' call
|
|
@@ -3974,22 +3974,22 @@
|
|
|
3974
3974
|
tmp$ret$1 = tmp1_minus.c5(toLong_0(digit));
|
|
3975
3975
|
accumulator = tmp$ret$1;
|
|
3976
3976
|
if (accumulator.e1(new Long(0, 0)) > 0) {
|
|
3977
|
-
this.
|
|
3977
|
+
this.g14('Numeric value overflow');
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
3980
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
3981
|
-
this.
|
|
3981
|
+
this.g14('Expected numeric literal');
|
|
3982
3982
|
}
|
|
3983
3983
|
if (hasQuotation) {
|
|
3984
3984
|
if (!hasChars) {
|
|
3985
|
-
this.
|
|
3985
|
+
this.g14('EOF');
|
|
3986
3986
|
}
|
|
3987
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
3988
|
-
this.
|
|
3987
|
+
if (!equals(new Char(charSequenceGet(this.l19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3988
|
+
this.g14('Expected closing quotation mark');
|
|
3989
3989
|
}
|
|
3990
3990
|
current = current + 1 | 0;
|
|
3991
3991
|
}
|
|
3992
|
-
this.
|
|
3992
|
+
this.y11_1 = current;
|
|
3993
3993
|
var tmp_0;
|
|
3994
3994
|
if (isNegative) {
|
|
3995
3995
|
tmp_0 = accumulator;
|
|
@@ -3999,21 +3999,21 @@
|
|
|
3999
3999
|
if (!tmp_1.equals(new Long(0, -2147483648))) {
|
|
4000
4000
|
tmp_0 = accumulator.y4();
|
|
4001
4001
|
} else {
|
|
4002
|
-
this.
|
|
4002
|
+
this.g14('Numeric value overflow');
|
|
4003
4003
|
}
|
|
4004
4004
|
}
|
|
4005
4005
|
return tmp_0;
|
|
4006
4006
|
};
|
|
4007
|
-
protoOf(AbstractJsonLexer).
|
|
4008
|
-
return consumeBoolean(this, this.
|
|
4007
|
+
protoOf(AbstractJsonLexer).a17 = function () {
|
|
4008
|
+
return consumeBoolean(this, this.s19());
|
|
4009
4009
|
};
|
|
4010
|
-
protoOf(AbstractJsonLexer).
|
|
4011
|
-
var current = this.
|
|
4012
|
-
if (current === charSequenceLength(this.
|
|
4013
|
-
this.
|
|
4010
|
+
protoOf(AbstractJsonLexer).b17 = function () {
|
|
4011
|
+
var current = this.s19();
|
|
4012
|
+
if (current === charSequenceLength(this.l19())) {
|
|
4013
|
+
this.g14('EOF');
|
|
4014
4014
|
}
|
|
4015
4015
|
var tmp;
|
|
4016
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4016
|
+
if (equals(new Char(charSequenceGet(this.l19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4017
4017
|
current = current + 1 | 0;
|
|
4018
4018
|
tmp = true;
|
|
4019
4019
|
} else {
|
|
@@ -4022,14 +4022,14 @@
|
|
|
4022
4022
|
var hasQuotation = tmp;
|
|
4023
4023
|
var result = consumeBoolean(this, current);
|
|
4024
4024
|
if (hasQuotation) {
|
|
4025
|
-
if (this.
|
|
4026
|
-
this.
|
|
4025
|
+
if (this.y11_1 === charSequenceLength(this.l19())) {
|
|
4026
|
+
this.g14('EOF');
|
|
4027
4027
|
}
|
|
4028
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
4029
|
-
this.
|
|
4028
|
+
if (!equals(new Char(charSequenceGet(this.l19(), this.y11_1)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4029
|
+
this.g14('Expected closing quotation mark');
|
|
4030
4030
|
}
|
|
4031
4031
|
var tmp0_this = this;
|
|
4032
|
-
tmp0_this.
|
|
4032
|
+
tmp0_this.y11_1 = tmp0_this.y11_1 + 1 | 0;
|
|
4033
4033
|
}
|
|
4034
4034
|
return result;
|
|
4035
4035
|
};
|
|
@@ -4039,7 +4039,7 @@
|
|
|
4039
4039
|
// Inline function 'kotlin.code' call
|
|
4040
4040
|
tmp$ret$0 = Char__toInt_impl_vasixd(c);
|
|
4041
4041
|
if (tmp$ret$0 < 126) {
|
|
4042
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4042
|
+
var tmp_0 = CharMappings_getInstance().v19_1;
|
|
4043
4043
|
var tmp$ret$1;
|
|
4044
4044
|
// Inline function 'kotlin.code' call
|
|
4045
4045
|
tmp$ret$1 = Char__toInt_impl_vasixd(c);
|
|
@@ -4122,7 +4122,7 @@
|
|
|
4122
4122
|
}
|
|
4123
4123
|
var TC_OTHER;
|
|
4124
4124
|
function escapeToChar(c) {
|
|
4125
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4125
|
+
return c < 117 ? CharMappings_getInstance().u19_1[c] : _Char___init__impl__6a9atx(0);
|
|
4126
4126
|
}
|
|
4127
4127
|
function get_ignoreUnknownKeysHint() {
|
|
4128
4128
|
return ignoreUnknownKeysHint;
|
|
@@ -4173,7 +4173,7 @@
|
|
|
4173
4173
|
var tmp$ret$0;
|
|
4174
4174
|
// Inline function 'kotlin.code' call
|
|
4175
4175
|
tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4176
|
-
$this.
|
|
4176
|
+
$this.u19_1[tmp$ret$0] = numberToChar(c);
|
|
4177
4177
|
}
|
|
4178
4178
|
}
|
|
4179
4179
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4183,7 +4183,7 @@
|
|
|
4183
4183
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4184
4184
|
}
|
|
4185
4185
|
function initC2TC($this, c, cl) {
|
|
4186
|
-
$this.
|
|
4186
|
+
$this.v19_1[c] = cl;
|
|
4187
4187
|
}
|
|
4188
4188
|
function initC2TC_0($this, c, cl) {
|
|
4189
4189
|
var tmp$ret$0;
|
|
@@ -4193,8 +4193,8 @@
|
|
|
4193
4193
|
}
|
|
4194
4194
|
function CharMappings() {
|
|
4195
4195
|
CharMappings_instance = this;
|
|
4196
|
-
this.
|
|
4197
|
-
this.
|
|
4196
|
+
this.u19_1 = charArray(117);
|
|
4197
|
+
this.v19_1 = new Int8Array(126);
|
|
4198
4198
|
initEscape(this);
|
|
4199
4199
|
initCharToToken(this);
|
|
4200
4200
|
}
|
|
@@ -4214,20 +4214,20 @@
|
|
|
4214
4214
|
var allowStructuredMapKeysHint;
|
|
4215
4215
|
function StringJsonLexer(source) {
|
|
4216
4216
|
AbstractJsonLexer.call(this);
|
|
4217
|
-
this.
|
|
4217
|
+
this.a1a_1 = source;
|
|
4218
4218
|
}
|
|
4219
|
-
protoOf(StringJsonLexer).
|
|
4220
|
-
return this.
|
|
4219
|
+
protoOf(StringJsonLexer).l19 = function () {
|
|
4220
|
+
return this.a1a_1;
|
|
4221
4221
|
};
|
|
4222
|
-
protoOf(StringJsonLexer).
|
|
4223
|
-
return position < this.
|
|
4222
|
+
protoOf(StringJsonLexer).m19 = function (position) {
|
|
4223
|
+
return position < this.a1a_1.length ? position : -1;
|
|
4224
4224
|
};
|
|
4225
|
-
protoOf(StringJsonLexer).
|
|
4226
|
-
var source = this.
|
|
4227
|
-
$l$loop: while (!(this.
|
|
4225
|
+
protoOf(StringJsonLexer).d15 = function () {
|
|
4226
|
+
var source = this.a1a_1;
|
|
4227
|
+
$l$loop: while (!(this.y11_1 === -1) ? this.y11_1 < source.length : false) {
|
|
4228
4228
|
var tmp0_this = this;
|
|
4229
|
-
var tmp1 = tmp0_this.
|
|
4230
|
-
tmp0_this.
|
|
4229
|
+
var tmp1 = tmp0_this.y11_1;
|
|
4230
|
+
tmp0_this.y11_1 = tmp1 + 1 | 0;
|
|
4231
4231
|
var ch = charSequenceGet(source, tmp1);
|
|
4232
4232
|
var tc = charToTokenClass(ch);
|
|
4233
4233
|
var tmp;
|
|
@@ -4240,143 +4240,143 @@
|
|
|
4240
4240
|
}
|
|
4241
4241
|
return get_TC_EOF();
|
|
4242
4242
|
};
|
|
4243
|
-
protoOf(StringJsonLexer).
|
|
4244
|
-
var current = this.
|
|
4245
|
-
if (current === this.
|
|
4243
|
+
protoOf(StringJsonLexer).n16 = function () {
|
|
4244
|
+
var current = this.s19();
|
|
4245
|
+
if (current === this.a1a_1.length ? true : current === -1)
|
|
4246
4246
|
return false;
|
|
4247
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4247
|
+
if (equals(new Char(charSequenceGet(this.a1a_1, current)), new Char(_Char___init__impl__6a9atx(44)))) {
|
|
4248
4248
|
var tmp0_this = this;
|
|
4249
|
-
tmp0_this.
|
|
4249
|
+
tmp0_this.y11_1 = tmp0_this.y11_1 + 1 | 0;
|
|
4250
4250
|
return true;
|
|
4251
4251
|
}
|
|
4252
4252
|
return false;
|
|
4253
4253
|
};
|
|
4254
|
-
protoOf(StringJsonLexer).
|
|
4255
|
-
var current = this.
|
|
4254
|
+
protoOf(StringJsonLexer).z14 = function () {
|
|
4255
|
+
var current = this.y11_1;
|
|
4256
4256
|
if (current === -1)
|
|
4257
4257
|
return false;
|
|
4258
|
-
$l$loop: while (current < this.
|
|
4259
|
-
var c = charSequenceGet(this.
|
|
4258
|
+
$l$loop: while (current < this.a1a_1.length) {
|
|
4259
|
+
var c = charSequenceGet(this.a1a_1, current);
|
|
4260
4260
|
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)))) {
|
|
4261
4261
|
current = current + 1 | 0;
|
|
4262
4262
|
continue $l$loop;
|
|
4263
4263
|
}
|
|
4264
|
-
this.
|
|
4265
|
-
return this.
|
|
4264
|
+
this.y11_1 = current;
|
|
4265
|
+
return this.o19(c);
|
|
4266
4266
|
}
|
|
4267
|
-
this.
|
|
4267
|
+
this.y11_1 = current;
|
|
4268
4268
|
return false;
|
|
4269
4269
|
};
|
|
4270
|
-
protoOf(StringJsonLexer).
|
|
4271
|
-
var current = this.
|
|
4270
|
+
protoOf(StringJsonLexer).s19 = function () {
|
|
4271
|
+
var current = this.y11_1;
|
|
4272
4272
|
if (current === -1)
|
|
4273
4273
|
return current;
|
|
4274
|
-
$l$loop: while (current < this.
|
|
4275
|
-
var c = charSequenceGet(this.
|
|
4274
|
+
$l$loop: while (current < this.a1a_1.length) {
|
|
4275
|
+
var c = charSequenceGet(this.a1a_1, current);
|
|
4276
4276
|
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)))) {
|
|
4277
4277
|
current = current + 1 | 0;
|
|
4278
4278
|
} else {
|
|
4279
4279
|
break $l$loop;
|
|
4280
4280
|
}
|
|
4281
4281
|
}
|
|
4282
|
-
this.
|
|
4282
|
+
this.y11_1 = current;
|
|
4283
4283
|
return current;
|
|
4284
4284
|
};
|
|
4285
|
-
protoOf(StringJsonLexer).
|
|
4286
|
-
if (this.
|
|
4287
|
-
this.
|
|
4285
|
+
protoOf(StringJsonLexer).m16 = function (expected) {
|
|
4286
|
+
if (this.y11_1 === -1) {
|
|
4287
|
+
this.q19(expected);
|
|
4288
4288
|
}
|
|
4289
|
-
var source = this.
|
|
4290
|
-
$l$loop: while (this.
|
|
4289
|
+
var source = this.a1a_1;
|
|
4290
|
+
$l$loop: while (this.y11_1 < source.length) {
|
|
4291
4291
|
var tmp0_this = this;
|
|
4292
|
-
var tmp1 = tmp0_this.
|
|
4293
|
-
tmp0_this.
|
|
4292
|
+
var tmp1 = tmp0_this.y11_1;
|
|
4293
|
+
tmp0_this.y11_1 = tmp1 + 1 | 0;
|
|
4294
4294
|
var c = charSequenceGet(source, tmp1);
|
|
4295
4295
|
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))))
|
|
4296
4296
|
continue $l$loop;
|
|
4297
4297
|
if (equals(new Char(c), new Char(expected)))
|
|
4298
4298
|
return Unit_getInstance();
|
|
4299
|
-
this.
|
|
4299
|
+
this.q19(expected);
|
|
4300
4300
|
}
|
|
4301
|
-
this.
|
|
4301
|
+
this.q19(expected);
|
|
4302
4302
|
};
|
|
4303
|
-
protoOf(StringJsonLexer).
|
|
4304
|
-
this.
|
|
4305
|
-
var current = this.
|
|
4306
|
-
var closingQuote = indexOf(this.
|
|
4303
|
+
protoOf(StringJsonLexer).s16 = function () {
|
|
4304
|
+
this.m16(get_STRING());
|
|
4305
|
+
var current = this.y11_1;
|
|
4306
|
+
var closingQuote = indexOf(this.a1a_1, _Char___init__impl__6a9atx(34), current);
|
|
4307
4307
|
if (closingQuote === -1) {
|
|
4308
|
-
this.
|
|
4308
|
+
this.p19(get_TC_STRING());
|
|
4309
4309
|
}
|
|
4310
4310
|
var inductionVariable = current;
|
|
4311
4311
|
if (inductionVariable < closingQuote)
|
|
4312
4312
|
do {
|
|
4313
4313
|
var i = inductionVariable;
|
|
4314
4314
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4315
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4316
|
-
return this.consumeString2(this.
|
|
4315
|
+
if (equals(new Char(charSequenceGet(this.a1a_1, i)), new Char(get_STRING_ESC()))) {
|
|
4316
|
+
return this.consumeString2(this.a1a_1, this.y11_1, i);
|
|
4317
4317
|
}
|
|
4318
4318
|
}
|
|
4319
4319
|
while (inductionVariable < closingQuote);
|
|
4320
|
-
this.
|
|
4320
|
+
this.y11_1 = closingQuote + 1 | 0;
|
|
4321
4321
|
var tmp$ret$1;
|
|
4322
4322
|
// Inline function 'kotlin.text.substring' call
|
|
4323
|
-
var tmp0_substring = this.
|
|
4323
|
+
var tmp0_substring = this.a1a_1;
|
|
4324
4324
|
var tmp$ret$0;
|
|
4325
4325
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4326
4326
|
tmp$ret$0 = tmp0_substring;
|
|
4327
4327
|
tmp$ret$1 = tmp$ret$0.substring(current, closingQuote);
|
|
4328
4328
|
return tmp$ret$1;
|
|
4329
4329
|
};
|
|
4330
|
-
protoOf(StringJsonLexer).
|
|
4331
|
-
var positionSnapshot = this.
|
|
4330
|
+
protoOf(StringJsonLexer).u16 = function (keyToMatch, isLenient) {
|
|
4331
|
+
var positionSnapshot = this.y11_1;
|
|
4332
4332
|
try {
|
|
4333
|
-
if (!(this.
|
|
4333
|
+
if (!(this.d15() === get_TC_BEGIN_OBJ()))
|
|
4334
4334
|
return null;
|
|
4335
|
-
var firstKey = isLenient ? this.
|
|
4335
|
+
var firstKey = isLenient ? this.s16() : this.t16();
|
|
4336
4336
|
if (firstKey === keyToMatch) {
|
|
4337
|
-
if (!(this.
|
|
4337
|
+
if (!(this.d15() === get_TC_COLON()))
|
|
4338
4338
|
return null;
|
|
4339
|
-
var result = isLenient ? this.
|
|
4339
|
+
var result = isLenient ? this.a15() : this.t16();
|
|
4340
4340
|
return result;
|
|
4341
4341
|
}
|
|
4342
4342
|
return null;
|
|
4343
4343
|
}finally {
|
|
4344
|
-
this.
|
|
4344
|
+
this.y11_1 = positionSnapshot;
|
|
4345
4345
|
}
|
|
4346
4346
|
};
|
|
4347
4347
|
function get_schemaCache(_this__u8e3s4) {
|
|
4348
|
-
return _this__u8e3s4.
|
|
4348
|
+
return _this__u8e3s4.n11_1;
|
|
4349
4349
|
}
|
|
4350
4350
|
function createMapForCache(initialCapacity) {
|
|
4351
4351
|
return HashMap_init_$Create$(initialCapacity);
|
|
4352
4352
|
}
|
|
4353
4353
|
//region block: post-declaration
|
|
4354
|
-
protoOf(defer$1).
|
|
4355
|
-
protoOf(defer$1).
|
|
4356
|
-
protoOf(defer$1).
|
|
4357
|
-
protoOf(PolymorphismValidator).
|
|
4358
|
-
protoOf(StreamingJsonDecoder).
|
|
4359
|
-
protoOf(StreamingJsonDecoder).
|
|
4360
|
-
protoOf(StreamingJsonDecoder).
|
|
4361
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4362
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4363
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4364
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4365
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4366
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4367
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4368
|
-
protoOf(JsonTreeDecoder).
|
|
4369
|
-
protoOf(JsonTreeDecoder).
|
|
4370
|
-
protoOf(JsonTreeDecoder).
|
|
4371
|
-
protoOf(JsonTreeListDecoder).
|
|
4372
|
-
protoOf(JsonTreeListDecoder).
|
|
4373
|
-
protoOf(JsonTreeListDecoder).
|
|
4374
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4375
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4376
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4377
|
-
protoOf(JsonTreeMapDecoder).
|
|
4378
|
-
protoOf(JsonTreeMapDecoder).
|
|
4379
|
-
protoOf(JsonTreeMapDecoder).
|
|
4354
|
+
protoOf(defer$1).lm = get_isNullable;
|
|
4355
|
+
protoOf(defer$1).sm = get_isInline;
|
|
4356
|
+
protoOf(defer$1).qm = get_annotations;
|
|
4357
|
+
protoOf(PolymorphismValidator).e11 = contextual;
|
|
4358
|
+
protoOf(StreamingJsonDecoder).zo = decodeSerializableElement$default;
|
|
4359
|
+
protoOf(StreamingJsonDecoder).cp = decodeSequentially;
|
|
4360
|
+
protoOf(StreamingJsonDecoder).ep = decodeCollectionSize;
|
|
4361
|
+
protoOf(JsonDecoderForUnsignedTypes).lo = decodeSerializableValue;
|
|
4362
|
+
protoOf(JsonDecoderForUnsignedTypes).zo = decodeSerializableElement$default;
|
|
4363
|
+
protoOf(JsonDecoderForUnsignedTypes).cp = decodeSequentially;
|
|
4364
|
+
protoOf(JsonDecoderForUnsignedTypes).ep = decodeCollectionSize;
|
|
4365
|
+
protoOf(AbstractJsonTreeDecoder).zo = decodeSerializableElement$default;
|
|
4366
|
+
protoOf(AbstractJsonTreeDecoder).cp = decodeSequentially;
|
|
4367
|
+
protoOf(AbstractJsonTreeDecoder).ep = decodeCollectionSize;
|
|
4368
|
+
protoOf(JsonTreeDecoder).zo = decodeSerializableElement$default;
|
|
4369
|
+
protoOf(JsonTreeDecoder).cp = decodeSequentially;
|
|
4370
|
+
protoOf(JsonTreeDecoder).ep = decodeCollectionSize;
|
|
4371
|
+
protoOf(JsonTreeListDecoder).zo = decodeSerializableElement$default;
|
|
4372
|
+
protoOf(JsonTreeListDecoder).cp = decodeSequentially;
|
|
4373
|
+
protoOf(JsonTreeListDecoder).ep = decodeCollectionSize;
|
|
4374
|
+
protoOf(JsonPrimitiveDecoder).zo = decodeSerializableElement$default;
|
|
4375
|
+
protoOf(JsonPrimitiveDecoder).cp = decodeSequentially;
|
|
4376
|
+
protoOf(JsonPrimitiveDecoder).ep = decodeCollectionSize;
|
|
4377
|
+
protoOf(JsonTreeMapDecoder).zo = decodeSerializableElement$default;
|
|
4378
|
+
protoOf(JsonTreeMapDecoder).cp = decodeSequentially;
|
|
4379
|
+
protoOf(JsonTreeMapDecoder).ep = decodeCollectionSize;
|
|
4380
4380
|
//endregion
|
|
4381
4381
|
//region block: init
|
|
4382
4382
|
PRIMITIVE_TAG = 'primitive';
|