I'm looking to organize a JSON object in a specific order,
Here is the current object structure:
{ "you": 100, "me": 75, "foo": 116, "bar": 15 }
I would like to rearrange this object in the following sequence ['me', 'foo', 'you', 'bar']
, resulting in:
{ "me": 75, "foo": 116, "you": 100, "bar": 15 }
Is there a method to achieve this?