When I send a request from my server, I receive JSON data
{
"something":"a",
"map": {
"rowid":1,
"a":1,
"b":2,
..
"r":2
}
}
After using the following code:
return this.authHttp.put(queryUrl, bodyString, this.requestsOptions).map(res=> res.json)
The observable JSON object is returned in sorted order:
{
"something":"a",
"map": {
"a":1,
"b":2,
..
"r":2,
"rowid":1,
}
}`
Is there a way to control the ordering of how json() reads the inner map so that the response ordering remains intact?
If possible, without needing to map to a new object type