Skip to content

Commit

Permalink
Merge pull request #63 from roboalex2/feature/json-tree-shows-array-size
Browse files Browse the repository at this point in the history
make json-tree show the size of an array
  • Loading branch information
patschuh authored Apr 12, 2024
2 parents a22775a + 7fd8a48 commit e3d8374
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/at/esque/kafka/JsonUtils.java
Original file line number Diff line number Diff line change
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 e3d8374

Please sign in to comment.