Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Easy conversion between dictionaries and query strings in Objective-C.

License

Notifications You must be signed in to change notification settings

segiddins/CMDQueryStringSerialization

Open more actions menu
 
 

Repository files navigation

CMDQueryStringSerialization

Easily convert between dictionaries and query strings in iOS and OS X. The API is similar to NSJSONSerialization.

Master build status: Build Status

Usage

NSString *queryString = [CMDQueryStringSerialization queryStringWithDictionary:dictionary];

CMDQueryStringSerialization supports arrays encoded in one of the following three formats:

  • key=value1&key=value2
  • key[]=value1&key[]=value2
  • key=value1,value2

CMDQueryStringWritingOptions contains options that map to each of these formats, with CMDQueryStringWritingOptionArrayRepeatKeysWithBrackets being the default if no option is passed.

License

CMDQueryStringSerialization is released under the MIT License.

About

Easy conversion between dictionaries and query strings in Objective-C.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.