This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* $.unserialize | |
* | |
* Takes a string in format "param1=value1¶m2=value2" and returns an object { param1: 'value1', param2: 'value2' }. | |
* If the "param1" ends with "[]" the param is treated as an array. | |
* | |
* Parses the value as String, Int or Boolean | |
* @todo: parseFloat could also be useful I guess. | |
* | |
* Example: |