Can't access editor anymore - Where are custom widgets stored?

Hi Openhabians,

I’ve destroyed one of my widgets while developing it - now I can’t open the editor in the WebUI anymore.
I know what change caused it - but how do I retrieve what I had already coded?
Where is the yaml stored?

Thank you so much!

//Edit: Ok i’ve found it: /var/lib/openhab/jsondb/uicomponents_ui_widget.json
Leaving this for reference in case anybode hits a similar issue. Beware, editing will only effect OH after stopping it and restarting.