json to UML doesn't seem to work
I use PlantUML among other things to visualize json data, as described here. The preview in VS Code works just fine.
However, to get this into my project documentation, I want to turn the .puml into .svg and include it in markdown files.
For this I use node-plantuml, and it worked just fine with my class diagrams, calling puml generate -s api-example.puml -o api-example.svg.
However, with my json data, inside the .uml I have:
@startjson
{
...
}
@endjson
This should be valid, but in the output .svg I get no visualization, but rather the text No @startuml found.
@vowstar I noticed that node-plantuml-back supports this feature, but the result is still bugged. I think bumping the plantumlVersion to something a bit more recent would fix it.
(manually replacing the .jar with the latest from sourceforge fixed it for me, but that's a manual step I would like to avoid in my setup; especially if I want to generate all UMLs as SVGs in CI, that would obviously not work)
@vowstar I noticed that
node-plantuml-backsupports this feature, but the result is still bugged. I think bumping theplantumlVersionto something a bit more recent would fix it. (manually replacing the.jarwith the latest from sourceforge fixed it for me, but that's a manual step I would like to avoid in my setup; especially if I want to generate all UMLs as SVGs in CI, that would obviously not work)
Sure. After testing, the old version does not work, the latest version is no problem.
can i use startjson with load json