We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bd8c17 commit ec663bcCopy full SHA for ec663bc
1 file changed
cli/main.go
@@ -3,8 +3,8 @@ package main
3
import (
4
"bytes"
5
"context"
6
- "encoding/json"
7
"encoding/json/jsontext"
+ "encoding/json/v2"
8
"fmt"
9
"io"
10
"log"
@@ -292,7 +292,7 @@ Make sure to chmod 700 the directory and 600 the config file to protect your tok
292
if err != nil {
293
log.Fatalf("masked email: %v", err)
294
}
295
- fastmaskResponseJSON, err := json.MarshalIndent(fastmaskResponse, "", " ")
+ fastmaskResponseJSON, err := json.Marshal(fastmaskResponse)
296
297
log.Fatalf("response marshal: %v", err)
298
0 commit comments