Export
Get clean output back out — as a document or as a graph image.
Document formats
Export the document to any of five formats, then copy it to the clipboard or save it to a file:
| Format | Output |
|---|---|
| JSON | Pretty-printed |
| JSON (minified) | Whitespace stripped |
| YAML | YAML document |
| CSV | Rows from a table (see below) |
| XML | Wrapped in a <root> element |
CSV note
Heads up — CSV export needs a root that is an array of objects — a table. Other shapes (a single object, nested arrays, scalars) can't be flattened into rows and columns, so they can't be exported to CSV. The column set is the union of every object's keys; missing cells are left empty.
Graph images
From the Graph view, export the diagram itself as an image — PNG, JPEG or SVG.
Opening Export
Reach Export from anywhere with ⌘E.
Next steps
Want types instead of data? See Type generation. Coming the other way? See Import & auto-detect.