Using grails converters outside of grails

View: New views
5 Messages — Rating Filter:   Alert me  

Using grails converters outside of grails

by Chris Broadfoot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

Is there an easy way to use these converters (i.e. converting to/from
JSON) outside of grails?

Which jar do these belong in?

Cheers

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Using grails converters outside of grails

by j pimmel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can't say for certain that I am right, but when i had a similar problem i found the the net.sf.json libs were pretty much an identical API - so much so i wondered if that was under Grails' hood..

All the JSON stuff you can do in Grails, you can use that lib to do.. Search on groovy & JSON and this comes up alot

J

On Fri, Nov 6, 2009 at 5:39 PM, Chris Broadfoot <chris@...> wrote:
Hi guys,

Is there an easy way to use these converters (i.e. converting to/from
JSON) outside of grails?

Which jar do these belong in?

Cheers

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct."  -  Dr. Niels Bohr

### Craft @ http://www.linkedin.com/in/jpimmel
###  Vox @ http://act.ualise.com/blogs/continuous-innovation
###  Twit @ http://twitter.com/franklywatson

Re: Using grails converters outside of grails

by Daniel Honig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JSONLib might be what you want

On Sat, Nov 7, 2009 at 10:00 PM, j pimmel <frankly.watson@...> wrote:
I can't say for certain that I am right, but when i had a similar problem i found the the net.sf.json libs were pretty much an identical API - so much so i wondered if that was under Grails' hood..

All the JSON stuff you can do in Grails, you can use that lib to do.. Search on groovy & JSON and this comes up alot

J

--
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct."  -  Dr. Niels Bohr

### Craft @ http://www.linkedin.com/in/jpimmel
###  Vox @ http://act.ualise.com/blogs/continuous-innovation
###  Twit @ http://twitter.com/franklywatson


Re: Using grails converters outside of grails

by Kristofer Eriksson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If so I would go for gson (http://code.google.com/p/google-gson/).

Cheers

Kristofer

On Sun, Nov 8, 2009 at 9:36 PM, Daniel Honig <daniel.honig@...> wrote:
JSONLib might be what you want

On Sat, Nov 7, 2009 at 10:00 PM, j pimmel <frankly.watson@...> wrote:
I can't say for certain that I am right, but when i had a similar problem i found the the net.sf.json libs were pretty much an identical API - so much so i wondered if that was under Grails' hood..

All the JSON stuff you can do in Grails, you can use that lib to do.. Search on groovy & JSON and this comes up alot

J

--
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct."  -  Dr. Niels Bohr

### Craft @ http://www.linkedin.com/in/jpimmel
###  Vox @ http://act.ualise.com/blogs/continuous-innovation
###  Twit @ http://twitter.com/franklywatson


Re: Using grails converters outside of grails

by tomas lin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gson doesn't do XML - Json-lib does.



On Sun, Nov 8, 2009 at 10:17 PM, Kristofer Eriksson
<kristofer.eriksson@...> wrote:

> If so I would go for gson (http://code.google.com/p/google-gson/).
>
> Cheers
>
> Kristofer
>
> On Sun, Nov 8, 2009 at 9:36 PM, Daniel Honig <daniel.honig@...> wrote:
>>
>> JSONLib might be what you want
>>
>> On Sat, Nov 7, 2009 at 10:00 PM, j pimmel <frankly.watson@...>
>> wrote:
>>>
>>> I can't say for certain that I am right, but when i had a similar problem
>>> i found the the net.sf.json libs were pretty much an identical API - so much
>>> so i wondered if that was under Grails' hood..
>>>
>>> All the JSON stuff you can do in Grails, you can use that lib to do..
>>> Search on groovy & JSON and this comes up alot
>>>
>>> J
>>> --
>>> "We are all agreed that your theory is crazy. The question that divides
>>> us is whether it is crazy enough to have a chance of being correct."  -  Dr.
>>> Niels Bohr
>>>
>>> ### Craft @ http://www.linkedin.com/in/jpimmel
>>> ###  Vox @ http://act.ualise.com/blogs/continuous-innovation
>>> ###  Twit @ http://twitter.com/franklywatson
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email