AI2JSON conversion
In order to more easily see how modifications change the content of AI files, I would like to convert the parsed content to JSON.
Requirements:
-
the parsed document is converted to JSON -
the attributes are ordered for diff
-
properties of the AIElement can be converted to JSON -
pretty export is required to use diff -
style and text (the data hierarchy) are included -
there is a cmd command that can be executed (possible --json
argument)
I hope that this makes the module more interesting for other people to use and contribute - it could result in something like a .ai
inspector.
My hope is that this will help with styling and other fine-grained tunings so we can see what actually changes and how to use it.
See also