@startuml !$myjson = { "root" : [{ "fruits": [ { "name": "apple", "colorId": "1" }, { "name": "pear", "colorId": "2" }, { "name": "pineapple", "colorId": "3" } ] }, { "colors": [ { "id": "1", "name": "red" }, { "id": "2", "name": "green" }, { "id": "3", "name": "yellow" } ] }] } !foo = $myjson.root !foreach $key in %get_json_keys($myjson.root) rectangle $key !endfor @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art