mirror of https://github.com/v2ray/v2ray-core
parent
9b7551ff1c
commit
97341693f3
@ -0,0 +1,15 @@
|
||||
package jsonem
|
||||
|
||||
import (
|
||||
"v2ray.com/core"
|
||||
"v2ray.com/core/common"
|
||||
"v2ray.com/ext/tools/conf/serial"
|
||||
)
|
||||
|
||||
func init() {
|
||||
common.Must(core.RegisterConfigLoader(&core.ConfigFormat{
|
||||
Name: "JSON",
|
||||
Extension: []string{"json"},
|
||||
Loader: serial.LoadJSONConfig,
|
||||
}))
|
||||
}
|
Loading…
Reference in new issue