We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON output, such as in RESTCONF, does not properly output JSON for leafrefs for single element lists
Example YANG:
leaf-list l1{ type string; }
Expected output: {"l1":[1]}
{"l1":[1]}
Actual output: {"l1":1}
{"l1":1}
The text was updated successfully, but these errors were encountered:
* Fixed: [JSON leaf-list output single element leaf-list does not use…
562320d
… array](#261)
use release version 5.3 , issue persist , different use and result is different.
Example YANG, result is ok.
container test { leaf-list number{ type int32; } } Expected output: {"test": {"number": [1]} Actual output: {"test": {"number": [1]}
Example YANG, result is error.
leaf-list number{ type int32; } Expected output: {"number": [1]} Actual output: {"number": 1}
Sorry, something went wrong.
olofhagsand
No branches or pull requests
JSON output, such as in RESTCONF, does not properly output JSON for leafrefs for single element lists
Example YANG:
Expected output:
{"l1":[1]}
Actual output:
{"l1":1}
The text was updated successfully, but these errors were encountered: