Hello B., and all,
See similar reported issue here:
For your second cases, could you add an alias, as:
@startuml json "some json" as J { "a": 1 } @enduml
For the first case, @PlantUML team, see also this example:
@startuml json someJson { [1, 2, 3] } @enduml
If that can help, for debugging...Regards.Th.
(--------)
Hello B.,
Thanks for the report,
FYI that is now fixed and implemented on v1.2024.8:
- Thanks PlantUML team for your work.
For 1./
Here is the current working example:
@startuml json someJson [1, 2, 3] @enduml
Or
See:
For 2./
That is now fixed.
@startuml json "some json" { "a": 1 } @enduml
Ref.: