NormalizedNode.toString() changed

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.

Environment

None

Activity

Show:
Done

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Created January 15, 2024 at 9:55 PM
Updated January 18, 2024 at 12:07 PM
Resolved January 16, 2024 at 1:52 AM