Apachai.JsonStringDictionary.Escape C# (CSharp) Method

Escape() static private method

static private Escape ( string foo ) : string
foo string
return string
        static string Escape(string foo)
        {
            return foo.Replace ("\"", "\\\"").Replace ("\n", "\\n").Replace ("\r", "\\r").Trim ();
        }