Built-in array conversion Javascript->Ruby?

Hi,
I was just wondering whether there is a standard Rails way of doing
this:
Sending a (multidimensional) array / hash that was generated inside the
browser to the server, f.i. as a string, and then rebuild the same array
in ruby. Do I have to write this functionality myself, or is it already
there?

Thanks!
johannes

You want to check out JSON (JavaScript Object Notation:
http://json.org/)
and JSON for Ruby (http://json.rubyforge.org/).

Jason

Thanks Jason,
JSON does exactly what I was looking for.

johannes