How could plugin persist data

Hello everyone,
i am going to write a plugin which may need persist data in disk.
Is there any guide/policy on this?

Thank you!

The Plugin class has loadData and saveData methods which serialise the given object to data.json in the plugin settings folder in the vault.

1 Like

thank you for the info!