Is there a convention for the order the properties in a JSON response appear?
For example, given the response:
{
"name": "Someone",
"age": 22,
"country": "Some Country"
}
You can see the properties are not ordered in any particular way. One ordering that comes to mind might be alphabetically:
{
"age": 22,
"country": "Some Country",
"name": "Someone"
}
I want to keep my API responses consistent, so is there any convention toward that matter?