"Pretty-printing" Stored configuration into JSON (overwritePersistedConfig = true)
Closed this issue · 3 comments
DannyBoyKN commented
Could it be possible to add a 3rd argument to JSON.stringify and pretty-print the configuration, for better readability and editing ?
Eg.:
...
function persistObject(fm, object, path) {
let raw = JSON.stringify(object, null, 2);
fm.writeString(path, raw);
}
...
Refer to official doc
lwitzani commented
I Can look into it
lwitzani commented
i added it :)
DannyBoyKN commented
Top 👌