PlantUML helps you to visualize the JSON data.
helloworld.txt
@startjson { "id" : 1, "name" : "Krishna", "address" : { "state" : "Karnatka", "city" : "Bnagalore", "country" : "India" }, "hobbies" : [ "Playing cricket", "blogging" ], "emails" : [ { "id" : "demo@demo1.com", "type" : "personal" }, { "id" : "demo@demo2.com", "type" : "official" } ] } @endjson
Above snippet generate below diagram.
Point to note
a. To use json feature, json content should be placed in between @startjson and @endjson tags
Previous Next Home
No comments:
Post a Comment