I have a JsonObject e.g
JsonObject jsonObject = {\"keyInt\":2,\"keyString\":\"val1\",\"id\":\"0123456\"}
Every JsonObject contains
JsonObject
replace "" with blank.
Map attributes = new HashMap(); Set> entrySet = jsonObject.entrySet(); for(Map.Entry entry : entrySet){ if (! nonProperties.contains(entry.getKey())) { properties.put(entry.getKey(), jsonObject.get(entry.getKey()).replace("\"","")); } }