Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
![JSON Configuration File thumbnail image](https://img.godotassetlibrary.com/zjqysuv-tDr-aTAF2T4tO9QxVY28JdLpJ_3vI2AGnsU/rs:fit:640:360:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tLzk4dGVnL0pTT05Db25maWdGaWxlL21hc3Rlci9kb2MvaW1hZ2VzL2NvZGVfZXhhbXBsZS5wbmc.webp)
![JSON Configuration File thumbnail image](https://img.godotassetlibrary.com/N2kjSUQiZUyej_d9iC_CJ_baOISWwY5ylhxJ1f3kwus/rs:fit:640:360:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tLzk4dGVnL0pTT05Db25maWdGaWxlL21hc3Rlci9kb2MvaW1hZ2VzL3ZhbGlkX2pzb24ucG5n.webp)
![JSON Configuration File thumbnail image](https://img.godotassetlibrary.com/YPZ7_Mvlj1HEnAjc9wmON_sbiBXNVGCX_owf8CjnG1E/rs:fit:640:360:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tLzk4dGVnL0pTT05Db25maWdGaWxlL21hc3Rlci9kb2MvaW1hZ2VzL2luY29ycmVjdF9qc29uLnBuZw.webp)
![JSON Configuration File hero image](https://img.godotassetlibrary.com/V0yM_la2-SRzXEVUsuMeB1MCkvfXRxy8ZxxcHBKGNuQ/rs:fit:1920:1080:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tLzk4dGVnL0pTT05Db25maWdGaWxlL21hc3Rlci9kb2MvaW1hZ2VzL2NvZGVfZXhhbXBsZS5wbmc.webp)
Quick Information
![JSON Configuration File icon image](https://img.godotassetlibrary.com/L0UMU1DPROYdJlMnsVNUPTlitPxluuu9xI798Y_CmnQ/rs:fit:50:50:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tLzk4dGVnL0pTT05Db25maWdGaWxlLzVhYTA4ZjdiY2MzOWNmMDU4N2Q3ZjE1ZDUxMTZmODk4Mjg1Mjc5NWYvZG9jL2ltYWdlcy9qc29uX2NvbmZpZ3VyYXRpb25fZmlsZV9pY29uLnBuZw.webp)
JSON Configuration File is a plugin for Godot that aims to aid reading user input via a JSON file. Using a JSON file as a way to configure your Godot application would allow your users to share configuration files. Minecraft is a remarkable example that uses JSON files to configure certain aspects of the game, such as block models.The definition of JSON Schemas inspired this plugin. However, instead of using a JSON file to define the structure of a JSON, it takes a coding approach. This approach has the advantage of allowing more features.
JSON Configuration File
JSON Configuration File is a plugin for Godot that aims to aid reading user input via a JSON file. Using a JSON file as a way to configure your Godot application would allow your users to share configuration files. Minecraft is a remarkable example that uses JSON files to configure certain aspects of the game, such as block models.
The definition of JSON Schemas inspired this plugin. However, instead of using a JSON file to define the structure of a JSON, it takes a coding approach. This approach has the advantage of allowing more features.
Code example
When using this plugin, you would be able to set up a configuration file with code like this:
This code would verify that this JSON file is valid:
And it would also detect multiple errors in this JSON file with a single validation process:
Please, check the documentation to learn how to set up your own JSON configuration file.
Features
This plugin would offer you:
- Twelve different types of properties:
- Booleans
- Real numbers
- Integers
- Percentages
- Strings
- Enums
- Arrays
- Colors
- Objects
- Files
- JSON Configuration Files
- Images
- The ability to detect multiple errors and warnings with a single call to the validation process.
- A representation of the errors and warnings with dictionaries to allow customization of the messages.
- The execution of code during the validation process to transform the data or to create custom tests.
Contributing
If you want to contribute with a new kind of property or a new feature, please consider also contributing to the documentation or adding new tests to the repository of tests for this plugin.
JSON Configuration File is a plugin for Godot that aims to aid reading user input via a JSON file. Using a JSON file as a way to configure your Godot application would allow your users to share configuration files. Minecraft is a remarkable example that uses JSON files to configure certain aspects of the game, such as block models.
The definition of JSON Schemas inspired this plugin. However, instead of using a JSON file to define the structure of a JSON, it takes a coding approach. This approach has the advantage of allowing more features.
Reviews
Quick Information
![JSON Configuration File icon image](https://img.godotassetlibrary.com/L0UMU1DPROYdJlMnsVNUPTlitPxluuu9xI798Y_CmnQ/rs:fit:50:50:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tLzk4dGVnL0pTT05Db25maWdGaWxlLzVhYTA4ZjdiY2MzOWNmMDU4N2Q3ZjE1ZDUxMTZmODk4Mjg1Mjc5NWYvZG9jL2ltYWdlcy9qc29uX2NvbmZpZ3VyYXRpb25fZmlsZV9pY29uLnBuZw.webp)
JSON Configuration File is a plugin for Godot that aims to aid reading user input via a JSON file. Using a JSON file as a way to configure your Godot application would allow your users to share configuration files. Minecraft is a remarkable example that uses JSON files to configure certain aspects of the game, such as block models.The definition of JSON Schemas inspired this plugin. However, instead of using a JSON file to define the structure of a JSON, it takes a coding approach. This approach has the advantage of allowing more features.