summaryrefslogtreecommitdiff
path: root/service/http
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-03-20 18:15:41 +0300
committerValery Piashchynski <[email protected]>2020-03-20 18:15:41 +0300
commit96e6686c5fa55e5b055fe3d7a4635e272e69c3ac (patch)
treeeb8b7f243db993351bb7867de4f0a732b03a7a98 /service/http
parentca497b21bcc33361867d16e1709c55f0313128a7 (diff)
Replace std json package with github.com/json-iterator/go
Diffstat (limited to 'service/http')
-rw-r--r--service/http/config_test.go2
-rw-r--r--service/http/request.go2
-rw-r--r--service/http/response.go2
-rw-r--r--service/http/rpc_test.go2
-rw-r--r--service/http/service_test.go2
-rw-r--r--service/http/uploads.go2
-rw-r--r--service/http/uploads_test.go2
7 files changed, 7 insertions, 7 deletions
diff --git a/service/http/config_test.go b/service/http/config_test.go
index d8b92247..79c81d2d 100644
--- a/service/http/config_test.go
+++ b/service/http/config_test.go
@@ -1,7 +1,7 @@
package http
import (
- "encoding/json"
+ json "github.com/json-iterator/go"
"github.com/spiral/roadrunner"
"github.com/spiral/roadrunner/service"
"github.com/stretchr/testify/assert"
diff --git a/service/http/request.go b/service/http/request.go
index 630e26f6..d8bd4d30 100644
--- a/service/http/request.go
+++ b/service/http/request.go
@@ -1,8 +1,8 @@
package http
import (
- "encoding/json"
"fmt"
+ json "github.com/json-iterator/go"
"github.com/sirupsen/logrus"
"github.com/spiral/roadrunner"
"github.com/spiral/roadrunner/service/http/attributes"
diff --git a/service/http/response.go b/service/http/response.go
index 16434a7c..38ac4417 100644
--- a/service/http/response.go
+++ b/service/http/response.go
@@ -1,7 +1,7 @@
package http
import (
- "encoding/json"
+ json "github.com/json-iterator/go"
"io"
"net/http"
"strings"
diff --git a/service/http/rpc_test.go b/service/http/rpc_test.go
index c73f2a91..2874e8b0 100644
--- a/service/http/rpc_test.go
+++ b/service/http/rpc_test.go
@@ -1,7 +1,7 @@
package http
import (
- "encoding/json"
+ json "github.com/json-iterator/go"
"github.com/sirupsen/logrus"
"github.com/sirupsen/logrus/hooks/test"
"github.com/spiral/roadrunner/service"
diff --git a/service/http/service_test.go b/service/http/service_test.go
index 1d8af9c0..44aba576 100644
--- a/service/http/service_test.go
+++ b/service/http/service_test.go
@@ -1,7 +1,7 @@
package http
import (
- "encoding/json"
+ json "github.com/json-iterator/go"
"github.com/sirupsen/logrus"
"github.com/sirupsen/logrus/hooks/test"
"github.com/spiral/roadrunner"
diff --git a/service/http/uploads.go b/service/http/uploads.go
index 8a46f230..15522503 100644
--- a/service/http/uploads.go
+++ b/service/http/uploads.go
@@ -1,8 +1,8 @@
package http
import (
- "encoding/json"
"fmt"
+ json "github.com/json-iterator/go"
"github.com/sirupsen/logrus"
"io"
"io/ioutil"
diff --git a/service/http/uploads_test.go b/service/http/uploads_test.go
index 1890c02b..f336951e 100644
--- a/service/http/uploads_test.go
+++ b/service/http/uploads_test.go
@@ -5,8 +5,8 @@ import (
"context"
"crypto/md5"
"encoding/hex"
- "encoding/json"
"fmt"
+ json "github.com/json-iterator/go"
"github.com/spiral/roadrunner"
"github.com/stretchr/testify/assert"
"io"