Migrate contentjson and badjson to library &

Add omitempty in format
This commit is contained in:
世界
2023-12-01 20:15:11 +08:00
parent bd8533d540
commit c8bd736f9c
38 changed files with 48 additions and 508 deletions

View File

@@ -6,10 +6,10 @@ import (
"strings"
"time"
"github.com/sagernet/sing-box/common/json"
"github.com/sagernet/sing-dns"
E "github.com/sagernet/sing/common/exceptions"
F "github.com/sagernet/sing/common/format"
"github.com/sagernet/sing/common/json"
N "github.com/sagernet/sing/common/network"
mDNS "github.com/miekg/dns"