安装NeGet包
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
反序列化
List<RNetWorkResult> mRNetWorkResults = Newtonsoft.Json.JsonConvert
.DeserializeObject<List<RNetWorkResult>>(mItem[1]);
序列化
string mResult = Newtonsoft.Json.JsonConvert.SerializeObject(mNetWorkSpeedEntities);