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

NormalizedNode.toString() changed

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: