Commit 178c690d authored by Stephane Nicoll's avatar Stephane Nicoll

Fix meta-data root attributes ordering

parent 16dac018
...@@ -50,7 +50,7 @@ public class JsonMarshaller { ...@@ -50,7 +50,7 @@ public class JsonMarshaller {
public void write(ConfigurationMetadata metadata, OutputStream outputStream) public void write(ConfigurationMetadata metadata, OutputStream outputStream)
throws IOException { throws IOException {
JSONObject object = new JSONObject(); JSONObject object = new JSONOrderedObject();
object.put("groups", toJsonArray(metadata, ItemType.GROUP)); object.put("groups", toJsonArray(metadata, ItemType.GROUP));
object.put("properties", toJsonArray(metadata, ItemType.PROPERTY)); object.put("properties", toJsonArray(metadata, ItemType.PROPERTY));
object.put("hints", toJsonArray(metadata.getHints())); object.put("hints", toJsonArray(metadata.getHints()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment