Java JsonObjectBuilder adding extra 'metadata' when added as child to JsonObjectBuilder
问题 I have one JsonObjectBuilder that builds my response. I have a for loop that loops 7 times, during each iteration it builds a new JsonObjectBuilder, adds key/value pairs, then this JsonObjectBuilder instance is added to the parent Builder for my response. As I understand it, this method should build 7 nested JsonObjects in my response object. private void addStoreHoursResponse(Map<String,Object> response, AppConfigHelper configHelper) throws IOException { final String OPEN = "open"; final