Skip to content

Tankōbon / main/db/import-service / parseExport

Function: parseExport() ​

parseExport(raw): ExportedData

Defined in: main/db/import-service.ts:143

Validates the JSON text of a file the user picked. Throws a user-facing message (in the interface language) when it isn't a Tankōbon export; individual library entries that are too broken to use are dropped rather than failing the whole import.

Parameters ​

raw ​

string

Returns ​

ExportedData