mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-28 04:56:29 -05:00
16 lines
274 B
Go
16 lines
274 B
Go
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,
|
|
}))
|
|
}
|