+1 vote

Is this possible? It would be nice to have named sub-variables (similar to how an array appears), instead of every variable being placed next to each other.

in Engine by (684 points)

Exporting arrays and dictionaries (or even classes) is not possible at the moment (JSON is just a representation of a nested structure of arrays and dictionaries), it's quite a complex task to achieve.

There have been some requests for this, like this Node Dictionary one https://github.com/godotengine/godot/issues/4043 (not quite the same but the idea is similar).

In 3.0 it became possible to inspect dictionaries and arrays in the debugger, buit they aren't editable: https://github.com/godotengine/godot/pull/8613

Cool thanks!

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 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 webmaster@godotengine.org with your username.