[jQuery] Sending array vs object

[jQuery] Sending array vs object

Hi there
I'm not clicking on why the method for sending form data via ajax is like:
[{"name":"customerid", "value":"47"}, {"name":"supplierid", "value":"32"}, ...]
As opposed to:
{"customerid":"47", "supplierid":"32", ...}
Can someone give me a clue?
Cheers,
Chris
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/