Files
marqdo-std-data/tests/cases/json.json
T
cflmy 848af7a357 migrate: own JSON/CSV and Table serialization; drop the value algorithms
Move JSON, CSV and the Table serialization half of the frozen module to their
unique source authority. Value operations now live only in std-collections;
there is no second implementation or legacy forwarder. Baseline JSON/CSV and
Table GFM expectations are carried into component cases.

Refs cflmy/marqdo#9, cflmy/marqdo-std-data#1
2026-11-26 23:32:22 +08:00

79 lines
1.4 KiB
JSON

{
"schema": "marqdo.stdlib-test-case",
"schema_version": 1,
"name": "json",
"file": "json.mq.md",
"require_module": "data/json.mq.md",
"args": [],
"stdin": "",
"env": {},
"expected_stdout": "",
"expected_terminal": {
"items": [
{
"type": "bool",
"value": true
},
{
"decimal": "1",
"type": "int"
},
{
"type": "text",
"value": "说\"好"
},
{
"type": "text",
"value": "[1, 2.5, -300.0, 0.4, {\"a\": 1.0}, \"x\"]"
},
{
"type": "bool",
"value": false
},
{
"type": "text",
"value": "json.invalid_array"
},
{
"type": "text",
"value": "json.trailing"
},
{
"type": "bool",
"value": false
},
{
"type": "text",
"value": "json.depth"
},
{
"type": "bool",
"value": true
},
{
"items": [
{
"decimal": "1",
"type": "int"
},
{
"decimal": "2",
"type": "int"
},
{
"items": [
{
"decimal": "3",
"type": "int"
}
],
"type": "list"
}
],
"type": "list"
}
],
"type": "list"
}
}