This is very much not the same question. The question was whether you can write into a TEXT file, not a json. I, for one, need to paste a string into a text file using godot, and I need it to be in the .txt format, which the question you've linked doesn't mention.