Java -Schleife von Gson JsonElement

final JsonObject jsonObject = GSON.toJsonTree(<Object>).getAsJsonObject();
for(Map.Entry<String, JsonElement> entry : jsonObject.entrySet()) {
    System.out.println("Key = " + entry.getKey() + " Value = " + entry.getValue() );
}
Impossible Iguana