Details
-
Bug
-
Status: Confirmed
-
Medium
-
Resolution: Unresolved
-
2.0.12, 2.1.10, 3.0.2, 4.0.8
-
None
-
None
Description
Given rpc definition:
rpc some-action {
input {
anyxml data;
}
}
And data passed into restconf:
{
"input" : {
"data" : [
{ "key" : "value" }
]
}
}
results in following json element received from gson codec:
"data" : { "array-element" : { "key" : " value" } }
This breaks how jsonrpc digests anyxml data from restconf.
I can't find reference to this behavior in RFC7951, so I think this is a bug.
Attachments
Issue Links
- relates to
-
YANGTOOLS-994 Add support for JSON-encoded anydata
-
- Confirmed
-