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:
parent
cccf160d37
commit
eb57cfbfd6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue