CMDQueryStringSerialization 0 CocoaPods

Easy query string conversion for iOS and OS X.

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.

Related Repositories

CMDQueryStringSerialization

CMDQueryStringSerialization

Easy query string conversion for iOS and OS X. ...

CMDQueryStringSerialization

CMDQueryStringSerialization

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


Top Contributors

calebd 0xced irace soffes kimballfrank

Releases

-   v0.4.3 zip tar
-   v0.4.2 zip tar
-   v0.4.1 zip tar
-   v0.4.0 zip tar
-   v0.3.2 zip tar
-   v0.3.1 zip tar
-   v0.3.0 zip tar
-   v0.2.0 zip tar
-   v0.1.0 zip tar