querystring-parse-simple.js revision 8ce0f95d343cc9a7374985d6bd7e085505701dc4
/*global Y */
/**
* <p>Provides Y.QueryString.stringify method for converting objects to Query Strings.
* This is a simpler implementation than the full querystring-stringify.</p>
* <p>Because some things may require basic query string escaping functionality,
* this module provides the bare minimum functionality (decoding a hash of simple values),
* without the additional support for arrays, objects, and so on.</p>
* <p>This provides a friendly way to deserialize basic query strings, without necessitating
* a lot of code for simple use-cases.</p>
*
* @module querystring
* @submodule querystring-parse-simple
* @for QueryString
* @static
*/
/**
* Provides Y.QueryString.parse method to accept Query Strings and return native
* JavaScript objects.
*
* @module querystring
* @submodule querystring-parse
* @for QueryString
* @static
*/
for (
var obj = {},
i = 0,
i < l;
i ++
) {
}
}
return obj;
};
/**
* Provides Y.QueryString.unescape method to be able to override default decoding
* method. This is important in cases where non-standard delimiters are used, if
* the delimiters would not normally be handled properly by the builtin
* (en|de)codeURIComponent functions.
* Default: replace "+" with " ", and then decodeURIComponent behavior.
* @module querystring
* @submodule querystring-parse
* @for QueryString
* @static
**/
QueryString.unescape = function (s) {
};