Learn

JSON to TOML Guide

About this tool

Convert JSON to TOML, mapping objects to tables and arrays of tables to the TOML equivalent. Useful for turning an API response into a config file.

Questions

Why is a nested structure sometimes rejected?
JSON and TOML do not have exactly the same types. A top-level list is rejected, but a null field can disappear from the TOML without an error. Check the output field by field. Decide for yourself whether the receiving program expects that field to be absent or to have some other value.