Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1562

NormalizedNode.toString() changed

    XMLWordPrintable

Details

    Description

      Controller is using a rather unfortunate toString() conversion during JSON export.
      The output has changed for ImmutableLeafNode, as we now have two distinct implementations, whereas previously we used ImmutableLeafNode for normal data and a subclass for byte[] data. This leads to toString() saying 'Regular[]' instead of 'ImmutableLeafNode[]'.

      Add a way to override the reported class and provide overrides for LeafNode and LeafSetEntryNode implementations.

      Attachments

        Issue Links

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

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: