We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371dc58 commit 46654b7Copy full SHA for 46654b7
common/jsonx/raw_json.go
config/router.go
@@ -1,6 +1,10 @@
1
package config
2
3
-import "github.com/layou233/zbproxy/v3/common/jsonx"
+import (
4
+ "encoding/json"
5
+
6
+ "github.com/layou233/zbproxy/v3/common/jsonx"
7
+)
8
9
type Router struct {
10
DefaultOutbound string `json:",omitempty"`
@@ -9,7 +13,7 @@ type Router struct {
13
14
type Rule struct {
11
15
Type string
12
- Parameter jsonx.RawJSON `json:",omitempty"`
16
+ Parameter json.RawMessage `json:",omitempty"`
17
//SubRules []Rule `json:",omitempty"`
18
Rewrite RuleRewrite `json:",omitempty"`
19
Sniff jsonx.Listable[string] `json:",omitempty"`
0 commit comments