Currently, QuickBooks Online doesn't support the JSON file in importing data. Instead, you can use either CSV, Google Sheets, or XLS/XLSX files. Please check this link for the detailed steps: Common questions about importing data to QuickBooks Online.
You'll want to look for a third-party app that can import JSON file to QuickBooks Online.
Post again here if you need anything else. Have a great day!