We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dcdf7e commit 16b41b8Copy full SHA for 16b41b8
api/src/main/java/io/kafbat/ui/service/masking/policies/Replace.java
@@ -53,7 +53,7 @@ private JsonNode replaceWithFieldsCheck(JsonNode node) {
53
private JsonNode replaceRecursive(JsonNode node) {
54
if (node.isObject()) {
55
ObjectNode obj = ((ObjectNode) node).objectNode();
56
- node.properties().forEach(f -> obj.set(f.getKey(), replaceRecursive(f.getValue())));
+ node.fields().forEachRemaining(f -> obj.set(f.getKey(), replaceRecursive(f.getValue())));
57
return obj;
58
} else if (node.isArray()) {
59
ArrayNode arr = ((ArrayNode) node).arrayNode(node.size());
0 commit comments