logoalt Hacker News

lifthrasiir12/09/20241 replyview on HN

> But these uses are discouraged at best anyway.

To my knowledge, such uses were discouraged only because of a security issue from evaluating a JSON string as a JavaScript code and not via something like JSON.parse.


Replies

int_19h12/09/2024

Given that TOML is intended primarily as a format for configs, a config where the root value is an array or a primitive value is hardly a relevant scenario.