Update gci format

This commit is contained in:
世界
2022-07-06 15:01:09 +08:00
parent 46f28a9de9
commit 3696e81eb4
55 changed files with 194 additions and 124 deletions

View File

@@ -3,8 +3,9 @@ package badjson
import (
"bytes"
"github.com/goccy/go-json"
E "github.com/sagernet/sing/common/exceptions"
"github.com/goccy/go-json"
)
type JSONArray[T any] []T

View File

@@ -1,8 +1,9 @@
package badjson
import (
"github.com/goccy/go-json"
E "github.com/sagernet/sing/common/exceptions"
"github.com/goccy/go-json"
)
func decodeJSON(decoder *json.Decoder) (any, error) {

View File

@@ -4,9 +4,10 @@ import (
"bytes"
"strings"
"github.com/goccy/go-json"
E "github.com/sagernet/sing/common/exceptions"
"github.com/sagernet/sing/common/x/linkedhashmap"
"github.com/goccy/go-json"
)
type JSONObject struct {