How to create a file during runtime

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vonflyhighace2
:warning: Old Version Published before Godot 3 was released.

Is it possible to create a file such as a json in a directory during runtime. If so, how?

:bust_in_silhouette: Reply From: henriquelalves

Check the docs, there are good examples there on how to create such file; one of the best tutorials is this one: http://docs.godotengine.org/en/stable/tutorials/engine/saving_games.html
It should give you an idea on how to create a file using json parsing.