On Tue, Mar 10, 2009 at 12:49 PM, kiko <[email protected]> wrote:
>
> duh. I figured it out, I need to make the fields value a JSON object
> instead of JSON string.  The code below seems to work and I'm off to
> the races, thanks for the help.
>
>    param = {}
>    param['a'] = 'b'
>    payload = {}
>    payload['pdef_url'] = "public/defs/sequence1.rb"
>    payload['fields'] = JSON.parse param.to_json

Great,

I was about to reply :)


Well done !

-- 
John Mettraux   -   http://jmettraux.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to