mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
89 lines
5.0 KiB
JSON
89 lines
5.0 KiB
JSON
{ "voidField": null,
|
|
"boolField": true,
|
|
"int8Field": -123,
|
|
"int16Field": -12345,
|
|
"int32Field": -12345678,
|
|
"int64Field": "-123456789012345",
|
|
"uInt8Field": 234,
|
|
"uInt16Field": 45678,
|
|
"uInt32Field": 3456789012,
|
|
"uInt64Field": "12345678901234567890",
|
|
"float32Field": 1234.5,
|
|
"float64Field": -1.23e47,
|
|
"textField": "foo",
|
|
"dataField": [98, 97, 114],
|
|
"structField": {
|
|
"voidField": null,
|
|
"boolField": true,
|
|
"int8Field": -12,
|
|
"int16Field": 3456,
|
|
"int32Field": -78901234,
|
|
"int64Field": "56789012345678",
|
|
"uInt8Field": 90,
|
|
"uInt16Field": 1234,
|
|
"uInt32Field": 56789012,
|
|
"uInt64Field": "345678901234567890",
|
|
"float32Field": -1.2499999646475857e-10,
|
|
"float64Field": 345,
|
|
"textField": "baz",
|
|
"dataField": [113, 117, 120],
|
|
"structField": {
|
|
"voidField": null,
|
|
"boolField": false,
|
|
"int8Field": 0,
|
|
"int16Field": 0,
|
|
"int32Field": 0,
|
|
"int64Field": "0",
|
|
"uInt8Field": 0,
|
|
"uInt16Field": 0,
|
|
"uInt32Field": 0,
|
|
"uInt64Field": "0",
|
|
"float32Field": 0,
|
|
"float64Field": 0,
|
|
"textField": "nested",
|
|
"structField": {"voidField": null, "boolField": false, "int8Field": 0, "int16Field": 0, "int32Field": 0, "int64Field": "0", "uInt8Field": 0, "uInt16Field": 0, "uInt32Field": 0, "uInt64Field": "0", "float32Field": 0, "float64Field": 0, "textField": "really nested", "enumField": "foo", "interfaceField": null},
|
|
"enumField": "foo",
|
|
"interfaceField": null },
|
|
"enumField": "baz",
|
|
"interfaceField": null,
|
|
"voidList": [null, null, null],
|
|
"boolList": [false, true, false, true, true],
|
|
"int8List": [12, -34, -128, 127],
|
|
"int16List": [1234, -5678, -32768, 32767],
|
|
"int32List": [12345678, -90123456, -2147483648, 2147483647],
|
|
"int64List": ["123456789012345", "-678901234567890", "-9223372036854775808", "9223372036854775807"],
|
|
"uInt8List": [12, 34, 0, 255],
|
|
"uInt16List": [1234, 5678, 0, 65535],
|
|
"uInt32List": [12345678, 90123456, 0, 4294967295],
|
|
"uInt64List": ["123456789012345", "678901234567890", "0", "18446744073709551615"],
|
|
"float32List": [0, 1234567, 9.9999999338158125e36, -9.9999999338158125e36, 9.99999991097579e-38, -9.99999991097579e-38],
|
|
"float64List": [0, 123456789012345, 1e306, -1e306, 1e-306, -1e-306],
|
|
"textList": ["quux", "corge", "grault"],
|
|
"dataList": [[103, 97, 114, 112, 108, 121], [119, 97, 108, 100, 111], [102, 114, 101, 100]],
|
|
"structList": [
|
|
{"voidField": null, "boolField": false, "int8Field": 0, "int16Field": 0, "int32Field": 0, "int64Field": "0", "uInt8Field": 0, "uInt16Field": 0, "uInt32Field": 0, "uInt64Field": "0", "float32Field": 0, "float64Field": 0, "textField": "x structlist 1", "enumField": "foo", "interfaceField": null},
|
|
{"voidField": null, "boolField": false, "int8Field": 0, "int16Field": 0, "int32Field": 0, "int64Field": "0", "uInt8Field": 0, "uInt16Field": 0, "uInt32Field": 0, "uInt64Field": "0", "float32Field": 0, "float64Field": 0, "textField": "x structlist 2", "enumField": "foo", "interfaceField": null},
|
|
{"voidField": null, "boolField": false, "int8Field": 0, "int16Field": 0, "int32Field": 0, "int64Field": "0", "uInt8Field": 0, "uInt16Field": 0, "uInt32Field": 0, "uInt64Field": "0", "float32Field": 0, "float64Field": 0, "textField": "x structlist 3", "enumField": "foo", "interfaceField": null} ],
|
|
"enumList": ["qux", "bar", "grault"] },
|
|
"enumField": "corge",
|
|
"interfaceField": null,
|
|
"voidList": [null, null, null, null, null, null],
|
|
"boolList": [true, false, false, true],
|
|
"int8List": [111, -111],
|
|
"int16List": [11111, -11111],
|
|
"int32List": [111111111, -111111111],
|
|
"int64List": ["1111111111111111111", "-1111111111111111111"],
|
|
"uInt8List": [111, 222],
|
|
"uInt16List": [33333, 44444],
|
|
"uInt32List": [3333333333],
|
|
"uInt64List": ["11111111111111111111"],
|
|
"float32List": [5555.5, "Infinity", "-Infinity", "NaN"],
|
|
"float64List": [7777.75, "Infinity", "-Infinity", "NaN"],
|
|
"textList": ["plugh", "xyzzy", "thud"],
|
|
"dataList": [[111, 111, 112, 115], [101, 120, 104, 97, 117, 115, 116, 101, 100], [114, 102, 99, 51, 48, 57, 50]],
|
|
"structList": [
|
|
{"voidField": null, "boolField": false, "int8Field": 0, "int16Field": 0, "int32Field": 0, "int64Field": "0", "uInt8Field": 0, "uInt16Field": 0, "uInt32Field": 0, "uInt64Field": "0", "float32Field": 0, "float64Field": 0, "textField": "structlist 1", "enumField": "foo", "interfaceField": null},
|
|
{"voidField": null, "boolField": false, "int8Field": 0, "int16Field": 0, "int32Field": 0, "int64Field": "0", "uInt8Field": 0, "uInt16Field": 0, "uInt32Field": 0, "uInt64Field": "0", "float32Field": 0, "float64Field": 0, "textField": "structlist 2", "enumField": "foo", "interfaceField": null},
|
|
{"voidField": null, "boolField": false, "int8Field": 0, "int16Field": 0, "int32Field": 0, "int64Field": "0", "uInt8Field": 0, "uInt16Field": 0, "uInt32Field": 0, "uInt64Field": "0", "float32Field": 0, "float64Field": 0, "textField": "structlist 3", "enumField": "foo", "interfaceField": null} ],
|
|
"enumList": ["foo", "garply"] }
|