Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-911

JSON reader: Eliminate additional logic for augmented data

    XMLWordPrintable

Details

    • Task
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ivanhrasko Ivan Hrasko
              ivanhrasko Ivan Hrasko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: