[Doxygen-users] PlantUML integration: using a different engine
Brought to you by:
dimitri
From: Tobias G. <ge...@ho...> - 2022-06-21 11:48:13
|
Hi guys, Doxygen version is 1.8.18. I'm trying to get the JSON diagrams generated by plantUML into my doxygen documentation. I'm using variations of the following snippet ///@startuml{engine=json} ///{ /// "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 ///} ///@enduml I've altered the startuml syntax as follows @startjson @startuml{json} I get either a syntax error from doxygen when it runs plantUML or I get the json text flat in the documentation. Any Ideas Thanks Tobi |