I am facing issues with json key ordering while inserting using json_insert function.
I have the sorted records as below
"AIR", "AIR Express"
"CFR", "Cost and Freight"
"FH", "Free house"
"UN", "United Nations"
"UPS", "United Parcel Service"
After converting the above records into json using json_insert function, I am seeing the results as below
{"FH":"Free house", "UN": "United Nations", "AIR": "AIR Express", "CFR": "Cost and Freight", "UPS": "United Parcel Service"}
but I want the json to maintain the keys in the order I am inserting. Though I could sense that it is trying to maintain the order based on the character length of keys. But how can I get rid to get the keys aligned in the order.