Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.528 kb
//
// NSDictionary+JSON.m
// git-phone
//
// Created by Maxthon Chan on 13-3-7.
//
//
#import "NSDictionary+JSON.h"
@implementation NSDictionary (JSON)
- (NSString *)JSONRepresentation
{
return [[NSString alloc] initWithData:[NSJSONSerialization dataWithJSONObject:self
options:0
error:NULL]
encoding:NSUTF8StringEncoding];
}
@end
Jump to Line
Something went wrong with that request. Please try again.