Skip to content

[NSDictionary -description] and [NSArray -description] are ugly. Lets fix that.

License

Notifications You must be signed in to change notification settings

RyanCopley/NSDictionary-JSONPrint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NSDictionary-JSONPrint

[NSDictionary -description] and [NSArray -description] are ugly. Lets fix that.

Also, swizzling should be avoided like the plague in my opinion, and overriding a function in a category isn't very fun.

Down with boilerplate!

Usage

NSDictionary* dict = ... your dictionary ...;
NSLog(@"JSON Formatted Dictionary: %@", [dict jsonDescription]);

About

[NSDictionary -description] and [NSArray -description] are ugly. Lets fix that.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published