Migrate contentjson and badjson to library &

Add omitempty in format
This commit is contained in:
世界 2023-12-01 20:15:11 +08:00
parent e09a94bb9e
commit 38d28e0763
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
38 changed files with 48 additions and 508 deletions

View file

@ -9,12 +9,12 @@ import (
"time"
"github.com/sagernet/sing-box/adapter"
"github.com/sagernet/sing-box/common/badjson"
"github.com/sagernet/sing-box/common/urltest"
C "github.com/sagernet/sing-box/constant"
"github.com/sagernet/sing-box/outbound"
"github.com/sagernet/sing/common"
F "github.com/sagernet/sing/common/format"
"github.com/sagernet/sing/common/json/badjson"
N "github.com/sagernet/sing/common/network"
"github.com/go-chi/chi/v5"