I have a file like this
{"100":["0.00001","10","0.01"],
"101":["0.0001","100","0.1"],
"102":["1","1000","1"],
....
"103":["0.01","10000","10"]}
I want to swap the second number with the third, inside each array, converting it into
{"100":["0.00001","0.01","10"],
"101":["0.0001","0.1","100"],
"102":["1","1","1000"],
....
"103":["0.01","10","10000"]}
How do I do that with sed, awk, or whatever?
Notice the existence of { and } at the first and last records.
thanks