dexie/Dexie.js

How to convert json blob to json

Open

#992 opened on Mar 15, 2020

View on GitHub
 (6 comments) (0 reactions) (0 assignees)JavaScript (10,304 stars) (625 forks)batch import
good first issue

Description

I want to convert this:

const blob = await exportDB(db, { prettyJson: true });

To readable json.

Instead I get:

Blob {size: 5646, type: "text/json"}

Thank you.

Contributor guide