title: Issue in converting NSDictionary to json string, replacing / with \/
body: <p>i want to convert NSDictionary to json string.everything is working fine, i have a small issue that is described as follows:
  I have a following code for conversion of NSDictionary to NSString:</p>
  
  <pre><code>-(NSString *)dictToJson:(NSDictionary *)dict
  {
      NSData *jsonData = [NSJSONSerialization dataWithJSONObject:dict options:NSJSONWritingPrettyPrinted error:nil];
     return  [[NSString alloc] initWithBytes:[jsonData bytes] length:[jsonData length] encoding:NSUTF8StringEncoding];
  }
  </code></pre>
  
  <p>I am calling the method as:</p>
  
  <pre><code>NSLog(@"%@", [self dictToJson:@{@"hello" : @"21/11/2014 10:07:42 AM"}]);
  </code></pre>
  
  <p>following is the output of this NSLog:</p>
  
  <pre><code>{
    "hello" : "21\/11\/2014 10:07:42 AM"
  }
  </code></pre>
  
  <p>I am expecting following output, how can i achieve it:</p>
  
  <pre><code>{
        "hello" : "21/11/2014 10:07:42 AM"
  }
  </code></pre>
  
  <p>it can be done by using <code>stringByReplacingOccurrencesOfString</code> method, but i don't want this to use. is there any other way to achieve the same?</p>