I just came across this on Reddit and maybe it is of interested here to Defold developers:
“When I tried Spine out, I was very disappointed by the lack of open source options for vector graphic imports so I wrote a Spine exporter for Inkscape. Check it out:
https://github.com/jleclanche/inkscape-spine-exporter”
and:
"Inkscape Spine Exporter
Exports an SVG file from Inkscape to Spine. Can generate a Spine JSON file.
Installation
Copy spine_exporter.inx and spine_exporter.py
Restart Inkscape
Usage
If the installation worked, you should see an “Export to Spine” submenu in the Extensions menu. Click it and modify the Output Directory at will.
In that directory will be generated one image for each leaf layer. By default, a JSON file will be generated in the output directory and images will be output to the ./images directory within it.
License
This project is licensed under the terms of the MIT license. See the LICENSE file for the full license text."