private str jsonKey2Lower(str _jStr)
{
str jStr;
str item;
System.Text.RegularExpressions.Regex regex;
System.Text.RegularExpressions.Match match;
regex = new System.Text.RegularExpressions.Regex("\"([A-Za-z0-9]*)\"\:");
match = regex.Match(_jStr);
jStr = _jStr;
while(match.Success)
{
item = match.Value;
jStr = strReplace(jStr, item, strLwr(item));
match = match.NextMatch();
}
return jStr;
}
refer from
origin = System.Text.RegularExpressions.Regex::Replace(origin,'<([A-Za-z0-9]*)>(\\s*|\n|\t|\r)</[A-Za-z0-9]*>','<$1/>');//压缩空节点。