I have a wcf service in .net, which i want to return a named JSON object. This is how i want to return the JSON object:
{"file":"\/9j\/4AAQSkZJRgABAQEASABIAAD\/4"}
But this is how it is returned from the service in c#
"\"\/9j\/4AAQSkZJRgABAQEASABIAAD\/4
This is the code i use to return it
[WebInvoke(Method = "GET",
                ResponseFormat = WebMessageFormat.Json,
                UriTemplate = "getFile/{fname}")]
    public string GetFile(string name)
    {
        /*
         * Some code (not important)
         */
        return JsonConvert.SerializeObject(System.Convert.ToBase64String(image));
    }