TOML
A TOML document needs a table root
name = "Example"
[server]
port = 8080JSON-to-TOML export requires an object at the root. A root array or primitive has no equivalent document-level table.
Data reference
Understand configuration types, sections, dates and unsupported values when converting TOML or INI to JSON.
8 of 8 entries
TOML
name = "Example"
[server]
port = 8080JSON-to-TOML export requires an object at the root. A root array or primitive has no equivalent document-level table.
TOML
{"optional": null} → choose removal or a replacement firstTOML has no null value. The converter rejects null rather than omitting a key silently; decide what absence means to the receiving application.
Numbers
account = "9007199254740993"Quote identifiers and exact large integers when crossing JSON tooling that uses JavaScript numbers. The converter rejects unsafe integer values instead of rounding them.
Dates
created = 2026-11-16T09:30:00.123456789+02:00JSON has no date type. TOML date/time values become ISO text while retaining their local or offset form and up to nanosecond precision. A JSON string remains quoted text on TOML export.
INI
port=8080
active=trueThe INI converter preserves these as the strings 8080 and true. It does not guess numbers or booleans from their appearance.
INI
[server]
host=localhostThe supported subset uses one-level named sections. Dots in section names are literal characters, rather than a request to create nested JSON objects.
INI
# full-line comment
path=assets;archiveFull-line # and semicolon comments are ignored. Inline characters remain part of the value in this converter. Other applications can interpret those characters differently.
Review
source with comments → typed data → reformatted documentComments, layout and lexical number formatting are not retained. Verify the destination application's schema and INI dialect before replacing a working configuration.