SkillAgentSearch skills...

CMDQueryStringSerialization

Easy query string conversion for iOS and OS X.

Install / Use

/learn @calebd/CMDQueryStringSerialization
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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 Skills

View on GitHub
GitHub Stars134
CategoryDevelopment
Updated1mo ago
Forks14

Languages

Objective-C

Security Score

95/100

Audited on Feb 1, 2026

No findings