
Publisher
benichi
Godot TOML Parser
A Godot TOML parser for Godot 3.x Usage var toml = TOMLParser.new() # Define the parser in your script var file = toml.parse("res://file.toml") # Load your TOML file from a specified path # After that, it behaves exactly like a dictionary print(file["variable"])
Current Issues -Octal and binary numbers aren't supported -Complex Date-time (eg. 1979-05-27T00:32:00.999999-07:00) isn't valid -Multi-lined strings can't start on a new line -Multi-lined arrays aren't supported
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
Godot TOML Parser
Godot TOML Parser is a Godot 3.x addon that parses TOML files into something that Godot can read.
Usage
var toml = TOMLParser.new() # Define the parser in your script
var file = toml.parse("res://file.toml") # Load your TOML file from a specified path
# After that, it behaves exactly like a dictionary
print(file["variable"])
List of currently known issues
- Octal and binary numbers aren't supported
- Complex Date-time (eg. 1979-05-27T00:32:00.999999-07:00) isn't valid
- Local date-time and seperate date and time aren't supported
- Multi-lined strings can't start on a new line
- Multi-lined arrays aren't supported