🔃 Use internal json package as the default json encoder

pull/1211/head
Kiyon 2021-03-10 08:35:27 +08:00
parent 3e2dd90be4
commit 704b306809
1 changed files with 1 additions and 2 deletions

3
app.go
View File

@ -12,7 +12,6 @@ package fiber
import (
"bufio"
"crypto/tls"
"encoding/json"
"errors"
"fmt"
"net"
@ -27,9 +26,9 @@ import (
"time"
"github.com/gofiber/fiber/v2/internal/colorable"
"github.com/gofiber/fiber/v2/internal/encoding/json"
"github.com/gofiber/fiber/v2/internal/isatty"
"github.com/gofiber/fiber/v2/utils"
"github.com/valyala/fasthttp"
)