I need to store JSON data inside an SVG file. This is for preserving information about the source that generated the SVG.
What is the best way to store that inside SVG:
- Using data- Attributes?
- Using or Tags?
- Using Javascript inside SVG?
Ideally that should be JSON, but I’m open to other suggestions.