Is it possible to simply change the extension of a .json file to a .txt without problems?
Yes.
Think about it; the sole purpose of the file extension is to allow the file browser (Windows Explorer, Windows Finder) to select a program to open this file with.
By default .html files are open (for me) with chrome, and chrome does a great job of displaying it as a web page, but if I rename the extension .42ftw , the data in the file won't change, and I could still display it like html, using chrome, if I wanted to - it's just that my file browser did not know what to do with it.
Thus, basically file extensions do not change internal data.
So, as long as you process the data in your .txt files, as it was in your .json files, you will not see the differences. It is possible that the external packages you use can be configured to download only .json , but this should not be a problem.
source share