[CONTROLLER-2091] Improve JSON export Created: 18/Jan/24  Updated: 18/Jan/24

Status: Confirmed
Project: controller
Component/s: clustering
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: pick-next, pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to YANGTOOLS-1562 NormalizedNode.toString() changed Resolved

 Description   

JsonExportActor is using toString() on NormalizedNode output. This is not really nice, as it relies on toString(), which is not a really stable contract.
Furthermore it makes the data structure a blob – hence the structure is not relfected in JSON.

Improve the export to explicitly emit a JSON structure – similar to what NormalizedNode.prettyTree().toString() does.


Generated at Wed Feb 07 19:57:11 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.