...
If the "fields" parameter is used to select descendant data nodes, then these nodes and all of their ancestor nodes have a "depth" value of "1".
JSON Viewer | ||||
---|---|---|---|---|
| ||||
{} |
JSON Viewer | ||||
---|---|---|---|---|
| ||||
{
"transition-function": {
"delta": [
{},
{},
{},
{},
{},
{},
{}
]
}
} |
JSON Viewer | ||||
---|---|---|---|---|
| ||||
{
"transition-function": {
"delta": [
{
"label": "separator"
},
{
"label": "write separator"
},
{
"label": "right summand"
},
{
"label": "final step"
},
{
"label": "go home"
},
{
"label": "right end"
},
{
"label": "left summand"
}
]
}
} |
JSON Viewer | ||||
---|---|---|---|---|
| ||||
{
"transition-function": {
"delta": [
{
"label": "separator",
"input": {
"state": 0,
"symbol": "0"
},
"output": {
"state": 1,
"symbol": "1"
}
},
{
"label": "write separator",
"input": {
"state": 2,
"symbol": "1"
},
"output": {
"state": 3,
"symbol": "0",
"head-move": "left"
}
},
{
"label": "right summand",
"input": {
"state": 1,
"symbol": "1"
}
},
{
"label": "final step",
"input": {
"state": 3,
"symbol": ""
},
"output": {
"state": 4
}
},
{
"label": "go home",
"input": {
"state": 3,
"symbol": "1"
},
"output": {
"head-move": "left"
}
},
{
"label": "right end",
"input": {
"state": 1,
"symbol": ""
},
"output": {
"state": 2,
"head-move": "left"
}
},
{
"label": "left summand",
"input": {
"state": 0,
"symbol": "1"
}
}
]
}
} |
Note: Depth of 0 will result in a 400 (Bad Request)
...