private static string Fmatch(Match e)
{
return ":\""+ e.Value.Substring(1,e.Value.Length-2)+"\""+e.Value.Substring(e.Value.Length-1,1);
}
public static string AddYinHaoForJsonNum(string source)
{
string s = Regex.Replace(source, @"\s", "");
//return Regex.Replace(s, ":[0-9]+[^:\\d\"-]", new MatchEvaluator(Fmatch));
return Regex.Replace(s, ":[0-9]+[\\]},]", new MatchEvaluator(Fmatch));
}