Preferring json to other ajax approaches


After experience with some really ugly RJS code I developed to handle
a very involved ajax-updating page that shows the result of various
numeric calculations, I’m tempted to drop RJS in favor of jQuery and
JSON. This way, I figure, my client side script can decide what to do
with response data – many variables of which are the same across
different ajax methods – and leave the server out of that.

Before I embark on this new approach with JSON, however, I wondered
whether anyone who has done this type of work – multiple layers of
client-side dependencies – would recommend any other basis for Ajax?