I cannot use @startjson
bilelgasmi opened this issue · 1 comments
bilelgasmi commented
Hello and thanks for this super useful library.
I'm wanting to use the plantuml feature that displays json data https://plantuml.com/json but it does not work and I get No @startuml found
error.
Here the rst file:
.. uml::
@startjson
{
"firstName": "John",
"lastName": "Smith",
"isAlive": true,
"age": 27,
"address": {
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": "10021-3100"
},
"phoneNumbers": [
{
"type": "home",
"number": "212 555-1234"
},
{
"type": "office",
"number": "646 555-4567"
}
],
"children": [],
"spouse": null
}
@endjson
Isn't this plantuml feature handled ?
bilelgasmi commented
Figured it out! It's related to plantuml.jar
itself.
I can't tell which is the version that does not work as I could not display its version (plantuml --version / -v / -h / --help etc... nothing works).