strange-config-format I got nerdsniped on Twitter. Here's the fastest way to get a solution I could manage. It took about 90 minutes. Usage $ cargo run -- ./path/to/example.config [spits JSON to stdout] You can see an example of the input and the output :)