sing-box 使用 JSON 作为配置文件格式。
{ "log": {}, "dns": {}, "inbounds": [], "outbounds": [], "route": {}, "experimental": {} }
log
dns
inbounds
outbounds
route
experimental
$ sing-box check
$ sing-box format -w