Currently, I am in the process of developing a Google Chrome extension and I have a question regarding its capabilities. Is it possible for the extension to generate JSON files for users to download (export) as well as implementing a button that allows users to open and parse JSON files stored locally or on a USB stick (import)?
The process of parsing each JSON file from the local system would involve extracting key-value pairs and performing some actions with the data. This operation would be limited to dealing with strings only, making it relatively straightforward.
**EDIT:** In reference to my query, it differs from this one because my focus is not on altering the user's download path. My intention is solely to provide an option for users to download a file to their normal directory with their permission (which Filesaver.js can facilitate). Additionally, the linked post does not address the concept of importing files.