JsonElement (CodeStyleSchemeJsonDescriptor.PropertyListHolder src, Type typeOfSrc, JsonSerializationContext context) { JsonObject o = new JsonObject(); for (AbstractCodeStylePropertyMapper mapper : src) { JsonObject langProperties = serializeMapper(mapper); o.add( mapper.getLanguageDomainId(), langProperties ); } return o; }