All guides Inkline

How to open and search a large JSON file on Mac

Open the export on your Mac and search for an ID you already know. Inkline can search throughout a large file, so you can inspect the matching record before deciding whether to format the export.

Open the export and find one record

In Inkline, choose File → Open and select your .json file. Press ⌘F and enter a known value such as demo-042. Use Find Next to go through the matches and check the surrounding fields before editing.

For an ID that could also appear in another field, enable regular expressions and search for the key and value together. This example allows whitespace around the colon, so it works on compact and indented JSON.

"request_id"\s*:\s*"demo-042"

Once you find the right record, check a nearby field such as "status":"queued". To try an edit, change "queued" to "ready" in a copy of the export. Save and search for the request ID again to verify the new value.

Format a copy when you need to see the structure

If the whole export is on one line, use Edit → Reformat File on a copy. Indentation makes nested objects easier to read. Search for the same ID afterward to return to the record. If formatting fails, inspect the reported syntax problem before deciding whether to repair the file.

In one recorded run on an M3 Pro MacBook Pro with 18 GB of memory, Inkline 2.0 formatted a generated 50 MiB JSON file in 0.73 seconds. VS Code 1.147.0 took 6.21 seconds on the same file and Mac with default settings. Watch the 50 MiB formatting comparison.

Check whether the export is JSON Lines

A .jsonl or .ndjson export usually has one complete JSON value per line. Open it and search the same way. Keep each record on one line if you edit it, so line-oriented tools can still process the result. A regular JSON export typically wraps its records in a single array or object. JSON Lines format.