Details
-
Bug
-
Status: Resolved
-
Medium
-
Resolution: Done
-
13.0.0
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
- relates to
-
YANGTOOLS-1563 Unstable NodeWithValue.toString()
-
- Resolved
-
-
CONTROLLER-2091 Improve JSON export
-
- Confirmed
-