Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Godot TOML Parser

An asset by benichi
The page banner background of a mountain and forest
Godot TOML Parser hero image

Quick Information

0 ratings
Godot TOML Parser icon image
benichi
Godot TOML Parser

A Godot TOML parser for Godot 3.xUsage```var toml = TOMLParser.new() # Define the parser in your scriptvar file = toml.parse("res://file.toml") # Load your TOML file from a specified path# After that, it behaves exactly like a dictionaryprint(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

Supported Engine Version
3.6
Version String
1.01
License Version
MIT
Support Level
community
Modified Date
2 months ago
Git URL
Issue URL

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

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

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot TOML Parser icon image
benichi
Godot TOML Parser

A Godot TOML parser for Godot 3.xUsage```var toml = TOMLParser.new() # Define the parser in your scriptvar file = toml.parse("res://file.toml") # Load your TOML file from a specified path# After that, it behaves exactly like a dictionaryprint(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

Supported Engine Version
3.6
Version String
1.01
License Version
MIT
Support Level
community
Modified Date
2 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers