
B
Publisher
benichi
Godot TOML Parser
Misc
TOML Parser Dictionary Configuration Data Format Addon Misc
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
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