split-diff icon indicating copy to clipboard operation
split-diff copied to clipboard

Does not work for json files

Open AkshayChan opened this issue 6 years ago • 1 comments

I read a json file using json.load into a dictionary, made some changes and wrote it back to another json file using json.dump. When I try to compare the files, it just highlights everything.

The only way I can get this to work is to manually copy and paste both JSON files into new text files and then compare them.

AkshayChan avatar Nov 14 '19 16:11 AkshayChan

@AkshayChan Are the files encoded the same? Are the line endings different between the files?

mupchrch avatar Dec 10 '19 20:12 mupchrch