Include User-defined & Extension-defined Properties in Exported JSON

Hey there!

So I have a custom extension I’m working on that allows the user to add some extra data into selected tags (specifically a pivot, with an x and y value).

I’m using Extension-defined properties to insert the data into the respective tag:

tag.properties(PLUGIN_KEY).pivot = {x = x, y = y}

That said, it looks like the native json exporter won’t export any of these extension or user defined properties in the json file.

Is there a plan to include this in future releases?

If not, any guidance on how I can inject data into the export via a new command group? Is that even possible?

At the very worst case, I can push this data into the user data field which I know is indeed exported into the json file, but I’d prefer not to do that.

Thank you so much!

Thank you. Feature issued in Include User-defined & Extension-defined Properties in Exported JSON · Issue #5186 · aseprite/aseprite · GitHub
Sorry, there is no easy way to include this in the json at this time.

Thank you @Gasparoken.

I’ve gone ahead and created pull request and linked the issue you created:

Thank you