v2.json
· 971 B · JSON
原始文件
Playground
{
"foo": [
{
"conditions": [
{
"stack": "bar",
"pattern": [
{
"type": "variable",
"symbol": "baz"
},
{
"type": "literal",
"symbol": "quux"
}
]
}
],
"results": [
{
"label": "another rule group",
"pattern": [
{
"type": "variable",
"symbol": "foo"
},
{
"type": "literal",
"symbol": "bar"
}
]
}
]
}
]
}
| 1 | { |
| 2 | "foo": [ |
| 3 | { |
| 4 | "conditions": [ |
| 5 | { |
| 6 | "stack": "bar", |
| 7 | "pattern": [ |
| 8 | { |
| 9 | "type": "variable", |
| 10 | "symbol": "baz" |
| 11 | }, |
| 12 | { |
| 13 | "type": "literal", |
| 14 | "symbol": "quux" |
| 15 | } |
| 16 | ] |
| 17 | } |
| 18 | ], |
| 19 | "results": [ |
| 20 | { |
| 21 | "label": "another rule group", |
| 22 | "pattern": [ |
| 23 | { |
| 24 | "type": "variable", |
| 25 | "symbol": "foo" |
| 26 | }, |
| 27 | { |
| 28 | "type": "literal", |
| 29 | "symbol": "bar" |
| 30 | } |
| 31 | ] |
| 32 | } |
| 33 | ] |
| 34 | } |
| 35 | ] |
| 36 | } |
| 37 |