1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 05:09:42 +02:00

Backup process no longer indents JSON

Save time and memory on large datasets
This commit is contained in:
Harvey Kandola 2018-10-23 16:58:33 +01:00
parent cccf160d37
commit eb57cfbfd6

View file

@ -68,7 +68,7 @@ type backupItem struct {
// Export data to JSON format, indented to look nice.
func toJSON(v interface{}) (string, error) {
j, err := json.MarshalIndent(v, "", " ")
j, err := json.Marshal(v)
if err != nil {
return "", err
}