Can NETCONF data be parsed by JSON? I've heard RESTCONF can be parsed by JSON or XML, however NETCONF can only be parsed by XML.
Is this true?Thanks!
NETCONF uses XML for encoding.
I'm not aware of an option on cisco platforms to tell NETCONF to accept or produce JSON-encoded payloads.
That being said you can easily convert XML to JSON. If you're using Python the json & xmltodict libraries will help you.