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

diatrevolo/CMDQueryStringSerialization

Open more actions menu
 
 

Repository files navigation

CMDQueryStringSerialization

Pod Version Pod Platform Pod License

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

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 query string conversion for iOS and OS X.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 97.4%
  • Ruby 2.6%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.