I have this json file that have a map of key-value pairs, but each value is a list of values
{
"car":["BMW", "AUDI"],
"OS":["Mac", "Win", "Ubuntu"],
"food":["Burger", "Taco"]
}
I need to read them in a java class and convert this into an ordered hash. I know sets and hashes meant to be unordered, so if there is a way to get an ordered list of the keys only that would be very helpful. Also, if there is a way to reorder the info and get a list of keys that would be good too.