I know you can override read and write of GH_IO.Serialization inside a custom component to gain persistence. But is it possible to get this behaviour using a script component instead? If not, is there an alternative method to gain persistence in another way, without writing to an external file.
I do not want to use custom components because that requires used to download and install a plugin.
update: i found this thread: https://www.grasshopper3d.com/forum/topics/key-value-user-text-within-grasshopper-document. will see whether it solves my problem.