0 votes

Is there any Godot plugin to enable us editing JSON file directly in Godot script editor?, I'm currently using JEdit. But wouldn't it be nice if we could edit JSON directly in the Godot.

in Engine by (38 points)

Hello. I want to use text file to store some dialogues and I don't know which folder to put the JSON files in order to be exported in the executable game.
If it does not bother you could you describe me how you do ? Thanks in advance.

As far as I know, everything under the path "res://" will be exported along with the executable game. I made a folder called "scripts" and I put my JSON files in it, along with my .tscn files

It's under "res://scripts/myJSONfile.json"

Sorry my answer wasn't complete. You should also make setting in the export menu.

From godot editor, go to Export -> Resources -> Change Export Mode to Export all files in the project directory.

And that's it

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.