コード例 #1
0
        } // constructor

        private static string jsonEncode(string s)
        {
            s = s.Replace(Environment.NewLine, " ");
            s = s.Replace("\n", " ");
            s = s.Replace("\r", " ");
            return(StringUtils.AddSlashes(s));
        }