Migrate contentjson and badjson to library &

Add omitempty in format
This commit is contained in:
世界 committed 2024-01-03 12:21:37 +08:00
1 parent e09a94bb9e
commit 38d28e0763
38 files changed
+48 -508

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
package badversion
import "github.com/sagernet/sing-box/common/json"
import "github.com/sagernet/sing/common/json"
func (v Version) MarshalJSON() ([]byte, error) {
return json.Marshal(v.String())