remove reference of Newtonsoft.Json

This commit is contained in:
Gang Zhuo
2015-10-08 05:57:14 -04:00
parent 29d70acfb5
commit 8bc9a7911b
5 changed files with 38 additions and 26 deletions
@@ -4,7 +4,6 @@ using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Threading;
using Newtonsoft.Json;
using Shadowsocks.Model;
namespace Shadowsocks.Controller.Strategy
@@ -66,7 +65,7 @@ namespace Shadowsocks.Controller.Strategy
score += statisticsData.MinResponse*factor;
if (!config.Calculations.TryGetValue("MaxResponse", out factor)) factor = 0;
score += statisticsData.MaxResponse*factor;
Logging.Debug($"{serverName} {JsonConvert.SerializeObject(statisticsData)}");
Logging.Debug($"{serverName} {SimpleJson.SimpleJson.SerializeObject(statisticsData)}");
return score;
}