Last active
March 16, 2020 05:36
-
-
Save madeye/8451355b1baba312dae78a6c8ca4d1a1 to your computer and use it in GitHub Desktop.
example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"server": "198.199.101.152", | |
"server_port": 8388, | |
"password": "u1rRWTssNv0p", | |
"method": "aes-256-cfb", | |
"remarks": "Example 1" | |
}, | |
{ | |
"server": "198.199.101.12", | |
"server_port": 8388, | |
"password": "u1rRWTssNv0p", | |
"method": "aes-256-cfb", | |
"plugin": "v2ray", | |
"plugin_opts": "host=www.example.com", | |
"remarks": "Example 2", | |
"route": "bypass-lan-china", | |
"remote_dns": "dns.google", | |
"ipv6": true, | |
"metered": false, | |
"proxy_apps": { | |
"enabled": true, | |
"bypass": true, | |
"android_list": [ | |
"com.eg.android.AlipayGphone", | |
"com.wudaokou.hippo", | |
"com.zhihu.android" | |
] | |
}, | |
"udpdns": false | |
}, | |
] |
Yeah, you're right. Let me update the file.
"ipv6": true,
"metered": false,
"remarks": "Example 2",
"route": "bypass-lan-china",
"route": "all",
Duplicated in the second profile
There are some config is system wide, I'd prefer put all config into object instead of array.
{
"servers": [
{
"server": "198.199.101.152",
"server_port": 8388,
"password": "u1rRWTssNv0p",
"method": "aes-256-cfb",
"remarks": "Example 1"
}
],
"pacUrl": "https://www.example.com/pac",
"proxy": {
"proxyType": "http",
"proxyServer": "http://proxy.example.com",
"proxyPort": 80
}
}
This file is moved to https://github.com/shadowsocks/shadowsocks-android/blob/master/.github/doc-json.md.
@studentmain This file is only meant to represent what fields shadowsocks-android expects from the subscription file. Feel free to extend it, as described in the documentation above.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should we remove nonstandard JSON fields, at least from one of the profiles?