2 ms·
No. Different ideal use cases, though they can overlap. TOML is great for simple config files that don't need anything beyond key/value or arrays. YAML is gre
by mcdonje 3y ago
No. Different ideal use cases, though they can overlap.
TOML is great for simple config files that don't need anything beyond key/value or arrays.
YAML is great for config files with more complicated data structure requirements.
JSON is great for self-describing serialized interchange.
SQLite is in a whole other class of technology. I suppose you can store config information in a table if you're already using SQLite in your app. If you're exposing it the way you would with a normal config file, the non-text format introduces friction.