Viewing files
Open JSON, NDJSON and CSV files, use the table, tree and raw views, filter, sort and export - all in the browser.
Open a file with the button, Ctrl/Cmd+O, or by dropping it on the page. Nothing is uploaded.
Formats#
JSON arrays, NDJSON (one value per line), pretty-printed sequences of values, and CSV (with delimiter detection). The format is detected from the content. The file is streamed: a boundary finder cuts rows without parsing them, and a row is parsed only when it is drawn, filtered, sorted or exported.
Three views#
| View | Key | Shows |
|---|---|---|
| Table | 1 | virtual grid; numbers right-aligned, strings left, booleans bold, null italic, missing fields hatched; header shows the column type, mixed when rows disagree |
| Tree | 2 | collapsible document with the size and type of each field; copy a filter path or a JSONPath; filter by this value |
| Raw | 3 | the row as pretty JSON; [ and ] step to the previous or next row |
A missing field is not the same as null: the grid hatches missing cells, and $exists and $ne treat them as the engine does.
Filter#
The filter box takes the Raft DB filter language (JSON), for example {"city":"Pune","age":{"$gt":30}}. The Studio's compiler mirrors
The server's filter engine: strict types, bytewise (UTF-8) string order, dotted paths through objects only. Press / to focus
the box, ? for help, Esc to clear. Filtering and sorting run in 12 ms slices and can be cancelled.
A CSV cell is text, so {"age": {"$gt": 30}} matches nothing in a CSV opened without Infer types. That is the engine's strict
behaviour. The checkbox converts empty cells to null, true/false to booleans, and integers and decimals to numbers before filtering.
Sort and export#
Click a column header: ascending, descending, off. Sort order ranks types (missing last, stable). Export writes CSV, NDJSON or JSON (the filtered rows) in 1 MB pieces and a Blob. The export generators are tested; the browser download itself was not clicked in the ST1 check.
Scroll limits#
Only about 40 rows are in the DOM. The scroll space is capped at 8,000,000 px, so beyond 333,333 rows one scrolled pixel moves
several rows; the keyboard, Go to row N (command palette) and Home/End reach every row exactly.
Known differences from the Rust JSON reader#
The Studio's reader follows the JSON grammar and differs from raftdb_exec::json in five cases (surrogate escapes, lenient numbers such
as +5 or 01, 1e999, duplicate keys, integers beyond i64 in data files).