@H_404_1@C#操作json数据时,对一个特定键的值进行修改
@H_404_1@若strJson为字符串,值为{“ID”:"1","Code":"22","QuoteTime":"2013-12-12","Last":"22"};
@H_404_1@Code也为字符串,值为88
@H_404_1@
strJson = Regex.Replace(strJson,"(?<=\"Code\":\")[^\",]*",Code);
@H_404_1@之后,strJson值为{“ID”:"1","Code":"88","Last":"22"}