I have a JSON object which I have constructed within my Java program.

JSONObject jObj = {"AAA:aaa","BBB:bbb","CCC:ccc"}

I am sending this object to a server in which it expects the JSON object in the following type.

{"BBB:bbb", "AAA:aaa", "CCC:ccc"}

My question is that does the order of the JSON object really matters on the server side? If yes, how can I change the order?

Edit
Report