I am encountering problems with ordering json keys when pasting using json_insert function.
I have sorted entries below
"AIR", "AIR Express"
CFR, Cost and Freight
"FH", "Free House"
"UN", "United Nations"
"UPS", "United Parcel Service"
After converting the above entries to json using the json_insert function, I see the results below
{"FH": "Free House", "UN": "United Nations", "AIR": "AIR Express", "CFR": "Cost and Freight", "UPS": "United Parcel Service",}
but I want json to store the keys in the order I insert. Although I could feel that he was trying to maintain order based on the length of the key characters. But how can I get rid of to get the keys aligned in order.
source
share