Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JSON Viewer
width400
height350
{
    "transition-function": {
        "delta": [
            {
                "output": {
                    "state": 1,
                    "symbol": "1"
                }
            },
            {
                "output": {
                    "state": 3,
                    "symbol": "0"
                }
            },
            {},
            {
                "output": {
                    "state": 4
                }
            },
            {},
            {
                "output": {
                    "state": 2
                }
            },
            {}
        ]
    }
}


Fields with module example

...


http://localhost:8282/rests/data/network-topology:network-topology/topology=topology-netconf/node=PNFDemo/yang-ext:mount/turing-machine?depth=1&fields=turing-machine:transition-function/turing-machine:delta/turing-machine:output(state)

...

JSON Viewer
width400
height350
{
    "turing-machine": {
        "transition-function": {
            "delta": [
                {
                    "output": {
                        "state": 1
                    }
                },
                {
                    "output": {
                        "state": 3
                    }
                },
                {},
                {
                    "output": {
                        "state": 4
                    }
                },
                {},
                {
                    "output": {
                        "state": 2
                    }
                },
                {}
            ]
        }
    }
}



Finding from Demo

...


Questions

...

QuestionAnswer
When field function is used to list attributes in child will the parent still be part of output? YES


...