What IIF is
IIF is QuickBooks Desktop's import and export format: tab-separated, with several tables interleaved in one file. A line starting with an exclamation mark defines the columns for a record type, and the data lines that follow begin with that type's keyword.
QuickBooks Desktop users, and the bookkeepers who have to move data into and out of it.
What JSON is
JSON is a text format for nested data: objects with named keys, arrays, strings, numbers, booleans and null. It has no date type and no comments.
Every web API, most configuration files and anything that talks to JavaScript.
What changes when you convert IIF to JSON
The largest table in the file is used, which is almost always the transactions. A typical export holds TRNS rows for the transactions and SPL rows for their split lines; those are two tables, not one, and combining them would produce a column layout that fits neither.
You choose the shape. An array of objects is the default and the one most code expects. A 2D array is smaller. Column arrays suit charting libraries. A keyed object suits lookups by id.
What carries over from IIF to JSON
IIF records 2 things about a table that JSON has no way to hold.
JSON wants a type for each column, and IIF does not record one, so each column is typed from what its values look like. A column of digits that should stay text - a zip code, a phone number, a leading-zero id - is the usual thing to check afterwards.
JSON has no header row. The column names are repeated as keys on every record instead, which is why the result is bigger on disk than the table it came from.
IIF can be read one record at a time. JSON has to be complete before it means anything, so the whole table is held in memory while it is written and a file that gets cut off part way through is not partly usable - it is unusable.