Re: Use javascriptsupport.require.with() directly with Jackson

2014-03-10 Thread George Christman
Thanks Thiago. On Mon, Mar 10, 2014 at 3:30 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 10 Mar 2014 12:27:29 -0300, George Christman < > gchrist...@cardaddy.com> wrote: > > I was thinking Jackson could build a json object ready to be passed to >> the clientside witho

Re: Use javascriptsupport.require.with() directly with Jackson

2014-03-10 Thread Thiago H de Paula Figueiredo
On Mon, 10 Mar 2014 12:27:29 -0300, George Christman wrote: I was thinking Jackson could build a json object ready to be passed to the clientside without having to first convert it to a string then pass it into my JSONObject. I'm trying to avoid the last two steps. In this case, I think

Re: Use javascriptsupport.require.with() directly with Jackson

2014-03-10 Thread George Christman
Yes serverside and Jackson will convert java objects to json and I'm trying to pass the generated json object to clientside. I'm building a custom implementation of modal and I'm looking to pass a JSONObject into javascriptsupport.require.with(); This works fine if I convert the generated json into

Re: Use javascriptsupport.require.with() directly with Jackson

2014-03-07 Thread Geoff Callender
I'm very confused as to what you're trying to achieve. This is server-side, yeah? Isn't Jackson's purpose to convert between Java objects and JSON? Are you wanting to pass JSON to client-side? What's the name of the client-side JavaScript module? Does it expect parameter(s)? What type? (You can