Skip to content
diagrams.mbt
DocsArticlesGalleryAPIGitHub

Gallery / JSON

Inventory and empty collections

Family: JSON. Status: Implemented.

A list of records with empty object and array values.

Scope: Native JSON data-tree rendering with exact scalar values and structural exploration.

Preview

Inventory and empty collections preview
Inventory and empty collections preview (dark)

Source

json-inventory.puml

text/plain

@startjson
title Inventory
{"warehouse":{"items":[{"sku":"A","stock":3,"tags":["fragile","gift"]},{"sku":"B","stock":0,"tags":[]}],"reserved":{},"locations":["north","south"]}}
@endjson

Download source: json-inventory.puml

Download SVG Download dark SVG Open offline player

diagrams.mbt · Diagramming for MoonBit.