CLI/lib tools to convert to/from JSON and XML
Abscissa opened this issue · comments
Nick Sabalausky commented
Need a library API and command line util to convert (to the extent possible) between SDL and JSON/XML.
extrawurst commented
this is probably related to: dlang/dub#626
Sebastian Wilzbach commented
Two ideas
- I think JSON is nowadays enough
- if it's available via
cat foo.sdl | dub run sdlang > foo.json
ordub run sdlang foo.sdl > foo.json
that should cover most use cases?
Delany commented
This is your most important ticket