Godot TOML Parser

by benichi

0

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

Version

1.01

Engine

3.6

Category

Misc

Download

Version1.01
Download

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author