File Tulis Obsidian
const configPath = this.app.vault.configDir + "/plugins/yourPlugin/data.json";
await this.app.vault.adapter.write(configPath,`
{
"test":"This is some JSON"
}
`);
Ugliest Unicorn