How to use curly braces in a tooltip? I would like to show json or something like it in the tooltips.

+1 vote
asked Dec 28, 2022 in Question / help by anonymous

I want use something like this

@startuml

actor Bob [[http://plantuml.com/sequence]]

actor Alice Alice -> Bob : [[https://json.org/example.html{tooltip with json object\n{"key":"value"}} json details]]

@enduml

And see tooltip:

tooltip with json object

{"key":"value"}

Is it possible?

1 Answer

0 votes
answered Dec 29, 2022 by evgenij (140 points)
I had a similar issue with square brackets. Escaping with tilde works (use '~[' instead of '[') with square brackets. For some reason, this solution does not work with curly brackets.
...