Fix meta-data root attributes ordering

pull/3551/merge
Stephane Nicoll 9 years ago
parent 16dac01886
commit 178c690d37

@ -50,7 +50,7 @@ public class JsonMarshaller {
public void write(ConfigurationMetadata metadata, OutputStream outputStream)
throws IOException {
JSONObject object = new JSONObject();
JSONObject object = new JSONOrderedObject();
object.put("groups", toJsonArray(metadata, ItemType.GROUP));
object.put("properties", toJsonArray(metadata, ItemType.PROPERTY));
object.put("hints", toJsonArray(metadata.getHints()));

Loading…
Cancel
Save