RestKit/RestKit — comment on commit d6e26a6f9dc0242e670833ee27b010f8bd554f9f
File: Specs/Support/NSDictionary+RKRequestSerializationSpec.m line 73
By bradphelan:

Actually as of JQuery 1.4 jQuery.param was changed to be compatible with the Rails parameter parser. If you read the comments at

http://api.jquery.com/jQuery.param/

it seems that not everybody was happy with this decision however this is the example given in the docs

var myObject = {
a: {
one: 1,
two: 2,
three: 3
},
b: [1,2,3]
};
var recursiveDecoded = decodeURIComponent($.param(myObject));

alert(recursiveDecoded);

a[one]=1&a[two]=2&a[three]=3&b[]=1&b[]=2&b[]=3