Godot Improved JSON's icon

Godot Improved JSON 1.2.0 Tools 4.3 Community

Submitted by user neth; MIT; 2024-09-20

JSON support for all variant types, including native & custom objects with property injection from JSON.

- Provides a JSONSerialization autoloaded/globally accessible class with several functions for converting any type to/from JSON.
- All Variant.Types are supported; no longer will your StringName be deserialized as a String, or your int as a float. Types are deserialized as the exact type they were when serialized.
- Custom & Native object support (including resources, nodes, anything that extends Object).
- Configurations for each class define what is to be serialized, only including the properties that you define thus compacting JSON making for smaller files, quicker load & save times.
- Assign an id to each class's config, and a json_key to each property. This allows you to change class names, script paths, & property names without having to modify JSON referencing old class names or paths. Simply update the JSON config for the class that changed.
- Automatically instantiate a PackedScene from JSON for Node derived classes; keep your default values default!
- Editor tools for quickly creating JSON object configurations
- Ability to store "references" to local *.tres Resource files within JSON, and upon deserialization load the exact instance of that resource file.


View files Download Submit an issue Recent Edits