Topic: JSON.parse ??

Hi Help neede with JSON

how to use Json.parse.

Actually throught request I am sending json object
ie, my tag is

<%= link_to_remote :url {:action=> "someaction" , :my_reference => someobject.to_json } %>

In my action method, i have to pass back the same "my_reference" after converting it to object. Currently its passed as json format.

is there a way to do this.

I want to do like

@someobject = JSON.parse(params[:my_reference])
render :partial => "mypage", :locals => {:someobject=> @someobject}

is this achievable

I found JSON.parse with convert to object.
but when I used JSON.parse, it throws me uninitialized constant error.