Skip to content

Commit

Permalink
make json-tree show the size of an array
Browse files Browse the repository at this point in the history
  • Loading branch information
roboalex2 committed Apr 9, 2024
1 parent a22775a commit 7fd8a48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/at/esque/kafka/JsonUtils.java
Expand Up @@ -333,6 +333,7 @@ private static void recursivelyAddElements(ArrayNode jsonNode, JsonTreeItem tree
treeItem.setExpanded(true);
applyCorrectAdder(childNode, newItem);
});
treeItem.setPropertyName(treeItem.getPropertyName() + " (" + i.get() + ")");
}

private static void recursivelyAddElements(TextNode val, JsonTreeItem treeItem) {
Expand Down

0 comments on commit 7fd8a48

Please sign in to comment.