Yep! Gson is great! I'm also using it behind the scenes :D

On Mon, Jan 16, 2012 at 10:57 PM, Carter Maslan <car...@maslan.com> wrote:

> We have been happy with our use gson on server side too:
> of http://code.google.com/p/google-gson/
>
>
>
> On Mon, Jan 16, 2012 at 4:44 PM, Bruno Fuster <brunofus...@gmail.com>wrote:
>
>> Hi,
>>
>> I have an iphone app running exactly like you said :) I'm using 
>> VRaptor<http://vraptor.caelum.com.br/en> and
>> Restfulie  (clients: 
>> restfulie-objectivec<https://github.com/caelum/restfulie-objectivec>or
>> java <https://github.com/caelum/restfulie-java>)
>>
>> Simple like this:
>>
>> //output json
>>
>> @Get("/products")
>> public void list() {
>>     List<Product> products = ds.list();
>>     result.use(json()).from(products).serialize();
>> }
>>
>>
>> //post json and marshall
>>
>> @Consumes
>> @Post("/products")
>> public void save(Product p) {
>>     ds.save(p);
>> }
>>
>>
>> Running app so you know its in production :)
>> www.wesaveapp.com
>>
>>
>>
>> On Mon, Jan 16, 2012 at 9:51 PM, angstrom348 <linux.mod...@gmail.com>wrote:
>>
>>> I am trying to allow for app engine interaction through JSON calls and
>>> return JSON back to the client (a mobile phone running a client app).
>>>
>>> A good example exists for python users at
>>> http://code.google.com/appengine/articles/rpc.html.
>>>
>>> How would you set up a basic ability to listen for JSON requests, parse
>>> them, and convert any results back to JSON and push them back as a JSON
>>> response?
>>>
>>> Any examples I have been able to find appear either vague or outdated.
>>>
>>> Thank you.
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine for Java" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/google-appengine-java/-/aCUsTbjjtVEJ.
>>> To post to this group, send email to
>>> google-appengine-java@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine-java+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>
>>
>>
>>
>> --
>> Bruno Fuster
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>



-- 
Bruno Fuster

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to