Closed vytux-com closed 3 years ago
Thanks for reporting this issue. Your observation is correct: The new version is reading the text as is ("\\"
) without unescaping it, like JSON.parse()
would normally do. JSON.stringify()
is used to turn the array into text again. It will escape escape the string and turn it into "\\\\"
. I have to think about how I want to fix this issue. If this is a blocker for you, you can go back to the last version, 2.0.3
. I just tested it and it does not contain this issue: https://stackoverflow.com/questions/42626065/vs-code-rollback-extension-install-specific-extension-version
This is now part of 3.0.1
I have the following as a sample JSON to sort
After running version 3.0.0 sort it get changed to this
It appears that the new version is double escaping the values and forgetting to un-escape them after the sort. The same behavior is seen both with built in sorts and Custom sorting scripts.