jObject
JObject jObj;
JArray dataJArray = new Newtonsoft.Json.Linq.JArray();
jObj = new JObject();
jObj.Add("code", ecoResCategory.code);
jObj.Add("name", ecoResCategory.Name);
dataJArray.Add(jObj);
keyinfo = int642Str( ecoResCategory.RecId );
return strReplace(DataJArray.ToString(), "\r\n", "");