DUB: json or sdl?
Guillaume Piolat
first.last at gmail.com
Thu Sep 23 15:06:11 UTC 2021
On Wednesday, 22 September 2021 at 10:19:18 UTC, Ki Rill wrote:
> Out of curiosity, which one do you use in your dub projects and
> why do you prefer one over another?
>
> For example, I use json. Simply because when I see `sdl`, I
> think of `SDL2` graphics library.
>
> What's your reason?
JSON.
I have a build tool that parses dub.json to extract meta-data
from the project. A good SDL parser didn't exist back then.
As for TOML, its syntax for arrays is unfortunate, I don't feel
like it's better than JSON (or even XML for what matters).
More information about the Digitalmars-d
mailing list