JsonNormalizedNodeBodyReader/JsonPatchBodyReader (as introduced in https://jira.opendaylight.org/browse/NETCONF-747) are using additional logic for Augmentation and Choice nodes.
while (result instanceof AugmentationNode || result instanceof ChoiceNode) {
Interesting is that XmlNormalizedNodeBodyReader/XmlPatchBodyReader do not need this additional logic.
Create tests in Netconf/Yangtools to verify JsonParserStream/XmlParserStream behaviour and create bug report to Yangtools project if necessary.
- is blocked by
-
YANGTOOLS-1415 Deal with leading YangInstanceIdentifier fragment
- In Progress
-
YANGTOOLS-1468 JsonParserStream cannot read augmentations
- Resolved
- split from
-
NETCONF-747 Unable execute YANG patch request when targeting augmented element
- Resolved