mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-09-19 18:19:20 +08:00
use default json encoding
This commit is contained in:
@@ -3,15 +3,13 @@ package model
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
||||||
// "encoding/json"
|
"encoding/json"
|
||||||
"github.com/json-iterator/go"
|
// "github.com/json-iterator/go"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/pingcap/tidb/util/hack"
|
"github.com/pingcap/tidb/util/hack"
|
||||||
)
|
)
|
||||||
|
|
||||||
var json = jsoniter.ConfigCompatibleWithStandardLibrary
|
|
||||||
|
|
||||||
type QueryPiece interface {
|
type QueryPiece interface {
|
||||||
String() *string
|
String() *string
|
||||||
Bytes() []byte
|
Bytes() []byte
|
||||||
|
Reference in New Issue
Block a user