There are a number of JSON parsers and generators for Particle products including the popular SparkJson library and JSMNSpark. I created yet another library because I wanted something lightweight.
The most convenient way to use D2 is to just run it as a CLI executable to produce SVGs from .d2 files. You can run the install script with --dry-run to see the ...