I haven't found reference in the API or the forum about this. What I want is to export Groups into a JSON (or any other type that I can store into a database) and then import this JSON in others projects in sketch.
The plugin works as a library for reusable Layers. For example I want to save a form design (Group) from one project, store in the DB, and then 5 days later in another project I want to import this saved form.
I was able to export using the toJSON function and save it on the database. But I can't import the json to sketch again.
The closest I got was this:
It works for texts, but not when it has a shape.