Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ private static JsonValue convertToJsonValue(JsonNode jsonNode) {
switch (jsonNode.getNodeType()) {
case OBJECT:
JsonObject jsonObject = Json.createObject();
JsonObject source = (JsonObject)jsonNode;
for (String key : source.keys()) {
ObjectNode source = (ObjectNode) jsonNode;
for (String key : source.propertyNames()) {
jsonObject.put(key, convertToJsonValue(source.get(key)));
}
return jsonObject;
Expand Down