Jquery Object
{"2":"text1", "5":"text2", "3":"text3"}
I need to reverse it like -
{"3":"text3", "5":"text2", "2": "text1"}
What is the optimal way to achieve this?
Jquery Object
{"2":"text1", "5":"text2", "3":"text3"}
I need to reverse it like -
{"3":"text3", "5":"text2", "2": "text1"}
What is the optimal way to achieve this?