Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Document

The document is used to describe the starting and ending boundaries of data in a God file. It is delimited by opening and closing "curly" braces ({ }). There can only be one set of document-level delimiters in a God file.

{ # document begins here
    name = "Will";
    hobbies = [ "Programming" "Watching Movies" "Playing Video Games" ];
} # document ends here

Within a document, any number of fields are allowed in any order at any level of depth.

Note

The document is not a field, therefore it does not use a field termination operator.

As stated above, only one document-level set of delimiters are allowed, meaning the following example is invalid:

{
    name = "Will";
}
{
    age = 26;
}