json-as 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +417 -0
- package/README.md +96 -14
- package/assembly/deserialize/index/typedarray.ts +14 -0
- package/assembly/deserialize/simd/string.ts +3 -3
- package/assembly/deserialize/simple/string.ts +88 -2
- package/assembly/deserialize/swar/string.ts +8 -11
- package/assembly/index.ts +137 -181
- package/assembly/serialize/index/arbitrary.ts +5 -0
- package/assembly/serialize/index/typedarray.ts +65 -0
- package/assembly/serialize/simd/string.ts +3 -11
- package/assembly/serialize/simple/arbitrary.ts +6 -0
- package/assembly/serialize/simple/string.ts +3 -11
- package/assembly/serialize/swar/string.ts +3 -11
- package/assembly/util/swar.ts +49 -0
- package/lib/as-bs.ts +88 -69
- package/package.json +19 -1
- package/transform/lib/index.d.ts +1 -0
- package/transform/lib/index.d.ts.map +1 -1
- package/transform/lib/index.js +153 -32
- package/transform/lib/index.js.map +1 -1
- package/transform/lib/linkers/custom.d.ts.map +1 -1
- package/transform/lib/linkers/custom.js +7 -3
- package/transform/lib/linkers/custom.js.map +1 -1
- package/transform/lib/types.d.ts +2 -0
- package/transform/lib/types.d.ts.map +1 -1
- package/transform/lib/types.js +13 -0
- package/transform/lib/types.js.map +1 -1
- package/.as-test/coverage/naive/coverage.arbitrary.spec.ts.log.json +0 -5628
- package/.as-test/coverage/naive/coverage.array.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.bool.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.box.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.custom.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.date.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.enum.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.float.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.generics.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.hierarchy.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.integer.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.map.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.namespace.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.null.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.raw.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.resolving.spec.ts.log.json +0 -5628
- package/.as-test/coverage/naive/coverage.set.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.staticarray.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.string.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.struct.spec.ts.log.json +0 -5187
- package/.as-test/coverage/naive/coverage.types.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.arbitrary.spec.ts.log.json +0 -5628
- package/.as-test/coverage/simd/coverage.array.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.bool.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.box.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.custom.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.date.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.enum.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.float.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.generics.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.hierarchy.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.integer.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.map.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.namespace.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.null.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.raw.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.resolving.spec.ts.log.json +0 -5628
- package/.as-test/coverage/simd/coverage.set.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.staticarray.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.string.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.struct.spec.ts.log.json +0 -5187
- package/.as-test/coverage/simd/coverage.types.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.arbitrary.spec.ts.log.json +0 -5628
- package/.as-test/coverage/swar/coverage.array.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.bool.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.box.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.custom.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.date.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.enum.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.float.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.generics.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.hierarchy.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.integer.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.map.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.namespace.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.null.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.raw.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.resolving.spec.ts.log.json +0 -5628
- package/.as-test/coverage/swar/coverage.set.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.staticarray.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.string.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.struct.spec.ts.log.json +0 -5187
- package/.as-test/coverage/swar/coverage.types.spec.ts.log.json +0 -5187
- package/.as-test/logs/naive/run.arbitrary.spec.ts.log.json +0 -943
- package/.as-test/logs/naive/run.array.spec.ts.log.json +0 -1053
- package/.as-test/logs/naive/run.bool.spec.ts.log.json +0 -257
- package/.as-test/logs/naive/run.box.spec.ts.log.json +0 -353
- package/.as-test/logs/naive/run.custom.spec.ts.log.json +0 -309
- package/.as-test/logs/naive/run.date.spec.ts.log.json +0 -397
- package/.as-test/logs/naive/run.enum.spec.ts.log.json +0 -343
- package/.as-test/logs/naive/run.float.spec.ts.log.json +0 -453
- package/.as-test/logs/naive/run.generics.spec.ts.log.json +0 -393
- package/.as-test/logs/naive/run.hierarchy.spec.ts.log.json +0 -325
- package/.as-test/logs/naive/run.integer.spec.ts.log.json +0 -373
- package/.as-test/logs/naive/run.map.spec.ts.log.json +0 -247
- package/.as-test/logs/naive/run.namespace.spec.ts.log.json +0 -361
- package/.as-test/logs/naive/run.null.spec.ts.log.json +0 -273
- package/.as-test/logs/naive/run.raw.spec.ts.log.json +0 -309
- package/.as-test/logs/naive/run.resolving.spec.ts.log.json +0 -273
- package/.as-test/logs/naive/run.set.spec.ts.log.json +0 -733
- package/.as-test/logs/naive/run.staticarray.spec.ts.log.json +0 -931
- package/.as-test/logs/naive/run.string.spec.ts.log.json +0 -2289
- package/.as-test/logs/naive/run.struct.spec.ts.log.json +0 -523
- package/.as-test/logs/naive/run.types.spec.ts.log.json +0 -273
- package/.as-test/logs/naive/test.arbitrary.spec.ts.log.json +0 -943
- package/.as-test/logs/naive/test.array.spec.ts.log.json +0 -1053
- package/.as-test/logs/naive/test.bool.spec.ts.log.json +0 -257
- package/.as-test/logs/naive/test.box.spec.ts.log.json +0 -353
- package/.as-test/logs/naive/test.custom.spec.ts.log.json +0 -309
- package/.as-test/logs/naive/test.date.spec.ts.log.json +0 -397
- package/.as-test/logs/naive/test.enum.spec.ts.log.json +0 -343
- package/.as-test/logs/naive/test.float.spec.ts.log.json +0 -453
- package/.as-test/logs/naive/test.generics.spec.ts.log.json +0 -393
- package/.as-test/logs/naive/test.hierarchy.spec.ts.log.json +0 -325
- package/.as-test/logs/naive/test.integer.spec.ts.log.json +0 -373
- package/.as-test/logs/naive/test.log.json +0 -2289
- package/.as-test/logs/naive/test.map.spec.ts.log.json +0 -247
- package/.as-test/logs/naive/test.namespace.spec.ts.log.json +0 -361
- package/.as-test/logs/naive/test.null.spec.ts.log.json +0 -273
- package/.as-test/logs/naive/test.raw.spec.ts.log.json +0 -309
- package/.as-test/logs/naive/test.resolving.spec.ts.log.json +0 -273
- package/.as-test/logs/naive/test.set.spec.ts.log.json +0 -733
- package/.as-test/logs/naive/test.staticarray.spec.ts.log.json +0 -931
- package/.as-test/logs/naive/test.string.spec.ts.log.json +0 -2345
- package/.as-test/logs/naive/test.struct.spec.ts.log.json +0 -523
- package/.as-test/logs/naive/test.types.spec.ts.log.json +0 -273
- package/.as-test/logs/simd/run.arbitrary.spec.ts.log.json +0 -943
- package/.as-test/logs/simd/run.array.spec.ts.log.json +0 -1053
- package/.as-test/logs/simd/run.bool.spec.ts.log.json +0 -257
- package/.as-test/logs/simd/run.box.spec.ts.log.json +0 -353
- package/.as-test/logs/simd/run.custom.spec.ts.log.json +0 -309
- package/.as-test/logs/simd/run.date.spec.ts.log.json +0 -397
- package/.as-test/logs/simd/run.enum.spec.ts.log.json +0 -343
- package/.as-test/logs/simd/run.float.spec.ts.log.json +0 -453
- package/.as-test/logs/simd/run.generics.spec.ts.log.json +0 -393
- package/.as-test/logs/simd/run.hierarchy.spec.ts.log.json +0 -325
- package/.as-test/logs/simd/run.integer.spec.ts.log.json +0 -373
- package/.as-test/logs/simd/run.map.spec.ts.log.json +0 -247
- package/.as-test/logs/simd/run.namespace.spec.ts.log.json +0 -361
- package/.as-test/logs/simd/run.null.spec.ts.log.json +0 -273
- package/.as-test/logs/simd/run.raw.spec.ts.log.json +0 -309
- package/.as-test/logs/simd/run.resolving.spec.ts.log.json +0 -273
- package/.as-test/logs/simd/run.set.spec.ts.log.json +0 -733
- package/.as-test/logs/simd/run.staticarray.spec.ts.log.json +0 -931
- package/.as-test/logs/simd/run.string.spec.ts.log.json +0 -2289
- package/.as-test/logs/simd/run.struct.spec.ts.log.json +0 -523
- package/.as-test/logs/simd/run.types.spec.ts.log.json +0 -273
- package/.as-test/logs/simd/test.arbitrary.spec.ts.log.json +0 -943
- package/.as-test/logs/simd/test.array.spec.ts.log.json +0 -1053
- package/.as-test/logs/simd/test.bool.spec.ts.log.json +0 -257
- package/.as-test/logs/simd/test.box.spec.ts.log.json +0 -353
- package/.as-test/logs/simd/test.custom.spec.ts.log.json +0 -309
- package/.as-test/logs/simd/test.date.spec.ts.log.json +0 -397
- package/.as-test/logs/simd/test.enum.spec.ts.log.json +0 -343
- package/.as-test/logs/simd/test.float.spec.ts.log.json +0 -453
- package/.as-test/logs/simd/test.generics.spec.ts.log.json +0 -393
- package/.as-test/logs/simd/test.hierarchy.spec.ts.log.json +0 -325
- package/.as-test/logs/simd/test.integer.spec.ts.log.json +0 -373
- package/.as-test/logs/simd/test.log.json +0 -11371
- package/.as-test/logs/simd/test.map.spec.ts.log.json +0 -247
- package/.as-test/logs/simd/test.namespace.spec.ts.log.json +0 -361
- package/.as-test/logs/simd/test.null.spec.ts.log.json +0 -273
- package/.as-test/logs/simd/test.raw.spec.ts.log.json +0 -309
- package/.as-test/logs/simd/test.resolving.spec.ts.log.json +0 -273
- package/.as-test/logs/simd/test.set.spec.ts.log.json +0 -733
- package/.as-test/logs/simd/test.staticarray.spec.ts.log.json +0 -931
- package/.as-test/logs/simd/test.string.spec.ts.log.json +0 -2345
- package/.as-test/logs/simd/test.struct.spec.ts.log.json +0 -523
- package/.as-test/logs/simd/test.types.spec.ts.log.json +0 -273
- package/.as-test/logs/swar/run.arbitrary.spec.ts.log.json +0 -943
- package/.as-test/logs/swar/run.array.spec.ts.log.json +0 -1053
- package/.as-test/logs/swar/run.bool.spec.ts.log.json +0 -257
- package/.as-test/logs/swar/run.box.spec.ts.log.json +0 -353
- package/.as-test/logs/swar/run.custom.spec.ts.log.json +0 -309
- package/.as-test/logs/swar/run.date.spec.ts.log.json +0 -397
- package/.as-test/logs/swar/run.enum.spec.ts.log.json +0 -343
- package/.as-test/logs/swar/run.float.spec.ts.log.json +0 -453
- package/.as-test/logs/swar/run.generics.spec.ts.log.json +0 -393
- package/.as-test/logs/swar/run.hierarchy.spec.ts.log.json +0 -325
- package/.as-test/logs/swar/run.integer.spec.ts.log.json +0 -373
- package/.as-test/logs/swar/run.map.spec.ts.log.json +0 -247
- package/.as-test/logs/swar/run.namespace.spec.ts.log.json +0 -361
- package/.as-test/logs/swar/run.null.spec.ts.log.json +0 -273
- package/.as-test/logs/swar/run.raw.spec.ts.log.json +0 -309
- package/.as-test/logs/swar/run.resolving.spec.ts.log.json +0 -273
- package/.as-test/logs/swar/run.set.spec.ts.log.json +0 -733
- package/.as-test/logs/swar/run.staticarray.spec.ts.log.json +0 -931
- package/.as-test/logs/swar/run.string.spec.ts.log.json +0 -2289
- package/.as-test/logs/swar/run.struct.spec.ts.log.json +0 -523
- package/.as-test/logs/swar/run.types.spec.ts.log.json +0 -273
- package/.as-test/logs/swar/test.arbitrary.spec.ts.log.json +0 -943
- package/.as-test/logs/swar/test.array.spec.ts.log.json +0 -1053
- package/.as-test/logs/swar/test.bool.spec.ts.log.json +0 -257
- package/.as-test/logs/swar/test.box.spec.ts.log.json +0 -353
- package/.as-test/logs/swar/test.custom.spec.ts.log.json +0 -309
- package/.as-test/logs/swar/test.date.spec.ts.log.json +0 -397
- package/.as-test/logs/swar/test.enum.spec.ts.log.json +0 -343
- package/.as-test/logs/swar/test.float.spec.ts.log.json +0 -453
- package/.as-test/logs/swar/test.generics.spec.ts.log.json +0 -393
- package/.as-test/logs/swar/test.hierarchy.spec.ts.log.json +0 -325
- package/.as-test/logs/swar/test.integer.spec.ts.log.json +0 -373
- package/.as-test/logs/swar/test.log.json +0 -11371
- package/.as-test/logs/swar/test.map.spec.ts.log.json +0 -247
- package/.as-test/logs/swar/test.namespace.spec.ts.log.json +0 -361
- package/.as-test/logs/swar/test.null.spec.ts.log.json +0 -273
- package/.as-test/logs/swar/test.raw.spec.ts.log.json +0 -309
- package/.as-test/logs/swar/test.resolving.spec.ts.log.json +0 -273
- package/.as-test/logs/swar/test.set.spec.ts.log.json +0 -733
- package/.as-test/logs/swar/test.staticarray.spec.ts.log.json +0 -931
- package/.as-test/logs/swar/test.string.spec.ts.log.json +0 -2345
- package/.as-test/logs/swar/test.struct.spec.ts.log.json +0 -523
- package/.as-test/logs/swar/test.types.spec.ts.log.json +0 -273
- package/.as-test/logs/test.arbitrary.spec.ts.log.json +0 -943
- package/.as-test/logs/test.array.spec.ts.log.json +0 -1053
- package/.as-test/logs/test.bool.spec.ts.log.json +0 -257
- package/.as-test/logs/test.box.spec.ts.log.json +0 -353
- package/.as-test/logs/test.custom.spec.ts.log.json +0 -309
- package/.as-test/logs/test.date.spec.ts.log.json +0 -397
- package/.as-test/logs/test.enum.spec.ts.log.json +0 -343
- package/.as-test/logs/test.float.spec.ts.log.json +0 -453
- package/.as-test/logs/test.generics.spec.ts.log.json +0 -393
- package/.as-test/logs/test.hierarchy.spec.ts.log.json +0 -325
- package/.as-test/logs/test.integer.spec.ts.log.json +0 -373
- package/.as-test/logs/test.log.json +0 -11371
- package/.as-test/logs/test.map.spec.ts.log.json +0 -247
- package/.as-test/logs/test.namespace.spec.ts.log.json +0 -361
- package/.as-test/logs/test.null.spec.ts.log.json +0 -273
- package/.as-test/logs/test.raw.spec.ts.log.json +0 -309
- package/.as-test/logs/test.resolving.spec.ts.log.json +0 -273
- package/.as-test/logs/test.set.spec.ts.log.json +0 -733
- package/.as-test/logs/test.staticarray.spec.ts.log.json +0 -931
- package/.as-test/logs/test.string.spec.ts.log.json +0 -2289
- package/.as-test/logs/test.struct.spec.ts.log.json +0 -523
- package/.as-test/logs/test.types.spec.ts.log.json +0 -273
- package/.as-test/runners/default.bindings.js +0 -68
- package/.as-test/runners/default.wasi.js +0 -38
- package/ARCHITECTURE.md +0 -323
- package/CONTRIBUTING.md +0 -244
- package/TODO +0 -1
- package/as-test.config.json +0 -40
- package/assembly/test.ts +0 -24
- package/eslint.config.js +0 -68
- package/lib/tsconfig.json +0 -8
- package/test.ts +0 -99
- package/tools/assemblyscript-eslint-local.js +0 -6
- package/tools/assemblyscript-eslint.js +0 -53
- package/tools/assemblyscript-prettier-plugin.js +0 -33
- package/tools/replacer.js +0 -63
- package/transform/tsconfig.json +0 -35
|
@@ -1,523 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"file": "assembly/__tests__/struct.spec.ts",
|
|
4
|
-
"suites": [
|
|
5
|
-
{
|
|
6
|
-
"file": "struct.spec.ts",
|
|
7
|
-
"order": 8,
|
|
8
|
-
"time": {
|
|
9
|
-
"start": 31480835.35684,
|
|
10
|
-
"end": 31480836.343728
|
|
11
|
-
},
|
|
12
|
-
"description": "Should serialize structs",
|
|
13
|
-
"depth": 0,
|
|
14
|
-
"suites": [],
|
|
15
|
-
"tests": [
|
|
16
|
-
{
|
|
17
|
-
"order": 0,
|
|
18
|
-
"type": "",
|
|
19
|
-
"verdict": "ok",
|
|
20
|
-
"left": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
21
|
-
"right": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
22
|
-
"instr": "toBe",
|
|
23
|
-
"message": "",
|
|
24
|
-
"location": "5:3"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"order": 1,
|
|
28
|
-
"type": "",
|
|
29
|
-
"verdict": "ok",
|
|
30
|
-
"left": "{\"firstName\":\"Emmet\",\"lastName\":\"West\",\"lastActive\":[8,27,2022],\"age\":23,\"pos\":{\"x\":3.4,\"y\":1.2,\"z\":8.3},\"isVerified\":true}",
|
|
31
|
-
"right": "{\"firstName\":\"Emmet\",\"lastName\":\"West\",\"lastActive\":[8,27,2022],\"age\":23,\"pos\":{\"x\":3.4,\"y\":1.2,\"z\":8.3},\"isVerified\":true}",
|
|
32
|
-
"instr": "toBe",
|
|
33
|
-
"message": "",
|
|
34
|
-
"location": "13:3"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"order": 2,
|
|
38
|
-
"type": "",
|
|
39
|
-
"verdict": "ok",
|
|
40
|
-
"left": "{\"f\":7.23}",
|
|
41
|
-
"right": "{\"f\":7.23}",
|
|
42
|
-
"instr": "toBe",
|
|
43
|
-
"message": "",
|
|
44
|
-
"location": "28:3"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"order": 3,
|
|
48
|
-
"type": "",
|
|
49
|
-
"verdict": "ok",
|
|
50
|
-
"left": "{\"f\":0.000001}",
|
|
51
|
-
"right": "{\"f\":0.000001}",
|
|
52
|
-
"instr": "toBe",
|
|
53
|
-
"message": "",
|
|
54
|
-
"location": "30:3"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"order": 4,
|
|
58
|
-
"type": "",
|
|
59
|
-
"verdict": "ok",
|
|
60
|
-
"left": "{\"f\":1e-7}",
|
|
61
|
-
"right": "{\"f\":1e-7}",
|
|
62
|
-
"instr": "toBe",
|
|
63
|
-
"message": "",
|
|
64
|
-
"location": "32:3"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"order": 5,
|
|
68
|
-
"type": "",
|
|
69
|
-
"verdict": "ok",
|
|
70
|
-
"left": "{\"f\":100000000000000000000.0}",
|
|
71
|
-
"right": "{\"f\":100000000000000000000.0}",
|
|
72
|
-
"instr": "toBe",
|
|
73
|
-
"message": "",
|
|
74
|
-
"location": "34:3"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"order": 6,
|
|
78
|
-
"type": "",
|
|
79
|
-
"verdict": "ok",
|
|
80
|
-
"left": "{\"f\":1e+21}",
|
|
81
|
-
"right": "{\"f\":1e+21}",
|
|
82
|
-
"instr": "toBe",
|
|
83
|
-
"message": "",
|
|
84
|
-
"location": "36:3"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"order": 7,
|
|
88
|
-
"type": "",
|
|
89
|
-
"verdict": "ok",
|
|
90
|
-
"left": "{\"a\\\\\\t\\\"\\u0002b`c\":\"foo\"}",
|
|
91
|
-
"right": "{\"a\\\\\\t\\\"\\u0002b`c\":\"foo\"}",
|
|
92
|
-
"instr": "toBe",
|
|
93
|
-
"message": "",
|
|
94
|
-
"location": "38:3"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"logs": [],
|
|
98
|
-
"kind": "describe",
|
|
99
|
-
"verdict": "ok"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"file": "struct.spec.ts",
|
|
103
|
-
"order": 1,
|
|
104
|
-
"time": {
|
|
105
|
-
"start": 31480836.3986,
|
|
106
|
-
"end": 31480836.503236
|
|
107
|
-
},
|
|
108
|
-
"description": "Should serialize structs with inheritance",
|
|
109
|
-
"depth": 0,
|
|
110
|
-
"suites": [],
|
|
111
|
-
"tests": [
|
|
112
|
-
{
|
|
113
|
-
"order": 0,
|
|
114
|
-
"type": "",
|
|
115
|
-
"verdict": "ok",
|
|
116
|
-
"left": "{\"a\":\"1\",\"b\":\"2\"}",
|
|
117
|
-
"right": "{\"a\":\"1\",\"b\":\"2\"}",
|
|
118
|
-
"instr": "toBe",
|
|
119
|
-
"message": "",
|
|
120
|
-
"location": "44:3"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"logs": [],
|
|
124
|
-
"kind": "describe",
|
|
125
|
-
"verdict": "ok"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"file": "struct.spec.ts",
|
|
129
|
-
"order": 1,
|
|
130
|
-
"time": {
|
|
131
|
-
"start": 31480836.534623,
|
|
132
|
-
"end": 31480836.628823
|
|
133
|
-
},
|
|
134
|
-
"description": "Should ignore properties decorated with @omit",
|
|
135
|
-
"depth": 0,
|
|
136
|
-
"suites": [],
|
|
137
|
-
"tests": [
|
|
138
|
-
{
|
|
139
|
-
"order": 0,
|
|
140
|
-
"type": "",
|
|
141
|
-
"verdict": "ok",
|
|
142
|
-
"left": "{\"y\":1,\"x\":1,\"z\":1}",
|
|
143
|
-
"right": "{\"y\":1,\"x\":1,\"z\":1}",
|
|
144
|
-
"instr": "toBe",
|
|
145
|
-
"message": "",
|
|
146
|
-
"location": "48:3"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"logs": [],
|
|
150
|
-
"kind": "describe",
|
|
151
|
-
"verdict": "ok"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"file": "struct.spec.ts",
|
|
155
|
-
"order": 3,
|
|
156
|
-
"time": {
|
|
157
|
-
"start": 31480836.66265,
|
|
158
|
-
"end": 31480837.265583
|
|
159
|
-
},
|
|
160
|
-
"description": "Should deserialize structs",
|
|
161
|
-
"depth": 0,
|
|
162
|
-
"suites": [],
|
|
163
|
-
"tests": [
|
|
164
|
-
{
|
|
165
|
-
"order": 0,
|
|
166
|
-
"type": "",
|
|
167
|
-
"verdict": "ok",
|
|
168
|
-
"left": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
169
|
-
"right": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
170
|
-
"instr": "toBe",
|
|
171
|
-
"message": "",
|
|
172
|
-
"location": "56:3"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"order": 1,
|
|
176
|
-
"type": "",
|
|
177
|
-
"verdict": "ok",
|
|
178
|
-
"left": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
179
|
-
"right": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
180
|
-
"instr": "toBe",
|
|
181
|
-
"message": "",
|
|
182
|
-
"location": "57:3"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"order": 2,
|
|
186
|
-
"type": "",
|
|
187
|
-
"verdict": "ok",
|
|
188
|
-
"left": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
189
|
-
"right": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
190
|
-
"instr": "toBe",
|
|
191
|
-
"message": "",
|
|
192
|
-
"location": "58:3"
|
|
193
|
-
}
|
|
194
|
-
],
|
|
195
|
-
"logs": [],
|
|
196
|
-
"kind": "describe",
|
|
197
|
-
"verdict": "ok"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"file": "struct.spec.ts",
|
|
201
|
-
"order": 1,
|
|
202
|
-
"time": {
|
|
203
|
-
"start": 31480837.30442,
|
|
204
|
-
"end": 31480837.509544
|
|
205
|
-
},
|
|
206
|
-
"description": "Should deserialize structs with whitespace",
|
|
207
|
-
"depth": 0,
|
|
208
|
-
"suites": [],
|
|
209
|
-
"tests": [
|
|
210
|
-
{
|
|
211
|
-
"order": 0,
|
|
212
|
-
"type": "",
|
|
213
|
-
"verdict": "ok",
|
|
214
|
-
"left": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
215
|
-
"right": "{\"x\":3.4,\"y\":1.2,\"z\":8.3}",
|
|
216
|
-
"instr": "toBe",
|
|
217
|
-
"message": "",
|
|
218
|
-
"location": "62:3"
|
|
219
|
-
}
|
|
220
|
-
],
|
|
221
|
-
"logs": [],
|
|
222
|
-
"kind": "describe",
|
|
223
|
-
"verdict": "ok"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"file": "struct.spec.ts",
|
|
227
|
-
"order": 2,
|
|
228
|
-
"time": {
|
|
229
|
-
"start": 31480837.542859,
|
|
230
|
-
"end": 31480837.878814
|
|
231
|
-
},
|
|
232
|
-
"description": "Should deserialize structs with nullable properties",
|
|
233
|
-
"depth": 0,
|
|
234
|
-
"suites": [],
|
|
235
|
-
"tests": [
|
|
236
|
-
{
|
|
237
|
-
"order": 0,
|
|
238
|
-
"type": "",
|
|
239
|
-
"verdict": "ok",
|
|
240
|
-
"left": "{\"bar\":{\"value\":\"test\"}}",
|
|
241
|
-
"right": "{\"bar\":{\"value\":\"test\"}}",
|
|
242
|
-
"instr": "toBe",
|
|
243
|
-
"message": "",
|
|
244
|
-
"location": "66:3"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"order": 1,
|
|
248
|
-
"type": "",
|
|
249
|
-
"verdict": "ok",
|
|
250
|
-
"left": "{\"bar\":null}",
|
|
251
|
-
"right": "{\"bar\":null}",
|
|
252
|
-
"instr": "toBe",
|
|
253
|
-
"message": "",
|
|
254
|
-
"location": "68:3"
|
|
255
|
-
}
|
|
256
|
-
],
|
|
257
|
-
"logs": [],
|
|
258
|
-
"kind": "describe",
|
|
259
|
-
"verdict": "ok"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"file": "struct.spec.ts",
|
|
263
|
-
"order": 2,
|
|
264
|
-
"time": {
|
|
265
|
-
"start": 31480837.916633,
|
|
266
|
-
"end": 31480838.267326
|
|
267
|
-
},
|
|
268
|
-
"description": "Should deserialize structs with nullable arrays in properties",
|
|
269
|
-
"depth": 0,
|
|
270
|
-
"suites": [],
|
|
271
|
-
"tests": [
|
|
272
|
-
{
|
|
273
|
-
"order": 0,
|
|
274
|
-
"type": "",
|
|
275
|
-
"verdict": "ok",
|
|
276
|
-
"left": "{\"bars\":[{\"value\":\"test\"}]}",
|
|
277
|
-
"right": "{\"bars\":[{\"value\":\"test\"}]}",
|
|
278
|
-
"instr": "toBe",
|
|
279
|
-
"message": "",
|
|
280
|
-
"location": "72:3"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"order": 1,
|
|
284
|
-
"type": "",
|
|
285
|
-
"verdict": "ok",
|
|
286
|
-
"left": "{\"bars\":null}",
|
|
287
|
-
"right": "{\"bars\":null}",
|
|
288
|
-
"instr": "toBe",
|
|
289
|
-
"message": "",
|
|
290
|
-
"location": "74:3"
|
|
291
|
-
}
|
|
292
|
-
],
|
|
293
|
-
"logs": [],
|
|
294
|
-
"kind": "describe",
|
|
295
|
-
"verdict": "ok"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"file": "struct.spec.ts",
|
|
299
|
-
"order": 6,
|
|
300
|
-
"time": {
|
|
301
|
-
"start": 31480838.308645,
|
|
302
|
-
"end": 31480838.686014
|
|
303
|
-
},
|
|
304
|
-
"description": "Additional regression coverage - primitives and arrays",
|
|
305
|
-
"depth": 0,
|
|
306
|
-
"suites": [],
|
|
307
|
-
"tests": [
|
|
308
|
-
{
|
|
309
|
-
"order": 0,
|
|
310
|
-
"type": "",
|
|
311
|
-
"verdict": "ok",
|
|
312
|
-
"left": "\"regression\"",
|
|
313
|
-
"right": "\"regression\"",
|
|
314
|
-
"instr": "toBe",
|
|
315
|
-
"message": "",
|
|
316
|
-
"location": "166:3"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"order": 1,
|
|
320
|
-
"type": "",
|
|
321
|
-
"verdict": "ok",
|
|
322
|
-
"left": "-42",
|
|
323
|
-
"right": "-42",
|
|
324
|
-
"instr": "toBe",
|
|
325
|
-
"message": "",
|
|
326
|
-
"location": "167:3"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"order": 2,
|
|
330
|
-
"type": "",
|
|
331
|
-
"verdict": "ok",
|
|
332
|
-
"left": "false",
|
|
333
|
-
"right": "false",
|
|
334
|
-
"instr": "toBe",
|
|
335
|
-
"message": "",
|
|
336
|
-
"location": "168:3"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"order": 3,
|
|
340
|
-
"type": "",
|
|
341
|
-
"verdict": "ok",
|
|
342
|
-
"left": "3.5",
|
|
343
|
-
"right": "3.5",
|
|
344
|
-
"instr": "toBe",
|
|
345
|
-
"message": "",
|
|
346
|
-
"location": "169:3"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"order": 4,
|
|
350
|
-
"type": "",
|
|
351
|
-
"verdict": "ok",
|
|
352
|
-
"left": "[1,2,3,4]",
|
|
353
|
-
"right": "[1,2,3,4]",
|
|
354
|
-
"instr": "toBe",
|
|
355
|
-
"message": "",
|
|
356
|
-
"location": "170:3"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"order": 5,
|
|
360
|
-
"type": "",
|
|
361
|
-
"verdict": "ok",
|
|
362
|
-
"left": "[\"a\",\"b\",\"c\"]",
|
|
363
|
-
"right": "[\"a\",\"b\",\"c\"]",
|
|
364
|
-
"instr": "toBe",
|
|
365
|
-
"message": "",
|
|
366
|
-
"location": "171:3"
|
|
367
|
-
}
|
|
368
|
-
],
|
|
369
|
-
"logs": [],
|
|
370
|
-
"kind": "describe",
|
|
371
|
-
"verdict": "ok"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"file": "struct.spec.ts",
|
|
375
|
-
"order": 3,
|
|
376
|
-
"time": {
|
|
377
|
-
"start": 31480838.724513,
|
|
378
|
-
"end": 31480839.01926
|
|
379
|
-
},
|
|
380
|
-
"description": "Should deserialize player structs with null nested object",
|
|
381
|
-
"depth": 0,
|
|
382
|
-
"suites": [],
|
|
383
|
-
"tests": [
|
|
384
|
-
{
|
|
385
|
-
"order": 0,
|
|
386
|
-
"type": "",
|
|
387
|
-
"verdict": "ok",
|
|
388
|
-
"left": "A",
|
|
389
|
-
"right": "A",
|
|
390
|
-
"instr": "toBe",
|
|
391
|
-
"message": "",
|
|
392
|
-
"location": "176:3"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"order": 1,
|
|
396
|
-
"type": "",
|
|
397
|
-
"verdict": "ok",
|
|
398
|
-
"left": "true",
|
|
399
|
-
"right": "true",
|
|
400
|
-
"instr": "toBe",
|
|
401
|
-
"message": "",
|
|
402
|
-
"location": "177:3"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"order": 2,
|
|
406
|
-
"type": "",
|
|
407
|
-
"verdict": "ok",
|
|
408
|
-
"left": "false",
|
|
409
|
-
"right": "false",
|
|
410
|
-
"instr": "toBe",
|
|
411
|
-
"message": "",
|
|
412
|
-
"location": "178:3"
|
|
413
|
-
}
|
|
414
|
-
],
|
|
415
|
-
"logs": [],
|
|
416
|
-
"kind": "describe",
|
|
417
|
-
"verdict": "ok"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"file": "struct.spec.ts",
|
|
421
|
-
"order": 2,
|
|
422
|
-
"time": {
|
|
423
|
-
"start": 31480839.06062,
|
|
424
|
-
"end": 31480839.208663
|
|
425
|
-
},
|
|
426
|
-
"description": "Should apply omitif and omitnull behavior across values",
|
|
427
|
-
"depth": 0,
|
|
428
|
-
"suites": [],
|
|
429
|
-
"tests": [
|
|
430
|
-
{
|
|
431
|
-
"order": 0,
|
|
432
|
-
"type": "",
|
|
433
|
-
"verdict": "ok",
|
|
434
|
-
"left": "{\"y\":-1,\"x\":1,\"z\":1}",
|
|
435
|
-
"right": "{\"y\":-1,\"x\":1,\"z\":1}",
|
|
436
|
-
"instr": "toBe",
|
|
437
|
-
"message": "",
|
|
438
|
-
"location": "184:3"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"order": 1,
|
|
442
|
-
"type": "",
|
|
443
|
-
"verdict": "ok",
|
|
444
|
-
"left": "{\"y\":7,\"foo\":\"ok\",\"x\":1,\"z\":1}",
|
|
445
|
-
"right": "{\"y\":7,\"foo\":\"ok\",\"x\":1,\"z\":1}",
|
|
446
|
-
"instr": "toBe",
|
|
447
|
-
"message": "",
|
|
448
|
-
"location": "189:3"
|
|
449
|
-
}
|
|
450
|
-
],
|
|
451
|
-
"logs": [],
|
|
452
|
-
"kind": "describe",
|
|
453
|
-
"verdict": "ok"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"file": "struct.spec.ts",
|
|
457
|
-
"order": 5,
|
|
458
|
-
"time": {
|
|
459
|
-
"start": 31480839.245774,
|
|
460
|
-
"end": 31480839.494611
|
|
461
|
-
},
|
|
462
|
-
"description": "Extended regression coverage - nested and escaped payloads",
|
|
463
|
-
"depth": 0,
|
|
464
|
-
"suites": [],
|
|
465
|
-
"tests": [
|
|
466
|
-
{
|
|
467
|
-
"order": 0,
|
|
468
|
-
"type": "",
|
|
469
|
-
"verdict": "ok",
|
|
470
|
-
"left": "0",
|
|
471
|
-
"right": "0",
|
|
472
|
-
"instr": "toBe",
|
|
473
|
-
"message": "",
|
|
474
|
-
"location": "193:3"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"order": 1,
|
|
478
|
-
"type": "",
|
|
479
|
-
"verdict": "ok",
|
|
480
|
-
"left": "true",
|
|
481
|
-
"right": "true",
|
|
482
|
-
"instr": "toBe",
|
|
483
|
-
"message": "",
|
|
484
|
-
"location": "194:3"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"order": 2,
|
|
488
|
-
"type": "",
|
|
489
|
-
"verdict": "ok",
|
|
490
|
-
"left": "-0.125",
|
|
491
|
-
"right": "-0.125",
|
|
492
|
-
"instr": "toBe",
|
|
493
|
-
"message": "",
|
|
494
|
-
"location": "195:3"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"order": 3,
|
|
498
|
-
"type": "",
|
|
499
|
-
"verdict": "ok",
|
|
500
|
-
"left": "[[1],[2,3],[]]",
|
|
501
|
-
"right": "[[1],[2,3],[]]",
|
|
502
|
-
"instr": "toBe",
|
|
503
|
-
"message": "",
|
|
504
|
-
"location": "196:3"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"order": 4,
|
|
508
|
-
"type": "",
|
|
509
|
-
"verdict": "ok",
|
|
510
|
-
"left": "\"line\\nbreak\"",
|
|
511
|
-
"right": "\"line\\nbreak\"",
|
|
512
|
-
"instr": "toBe",
|
|
513
|
-
"message": "",
|
|
514
|
-
"location": "197:3"
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
"logs": [],
|
|
518
|
-
"kind": "describe",
|
|
519
|
-
"verdict": "ok"
|
|
520
|
-
}
|
|
521
|
-
]
|
|
522
|
-
}
|
|
523
|
-
]
|