Saving Custom Data when Saving FNCBlox to file

Hi there,
I want to connect a custom class to a blox element and I assume I use the Obj property for that?
I want to save my custom class (as JSON) as part of the SaveSettingsToFile operation, but in order to do that I need to save it in a string property. At first I saw the StringData property but this is not being pulled through to the file when saving. Any suggestions on how to accomplish this?


Only published properties are saved. If you have a custom class inherited from the base block class, all you need to do is add property StringData to the published section of your custom class.