XML Generator #171
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
From steff.ni...@gmail.com on December 02, 2012 00:21:43
Hello all,
I am currently including google http java client into RoboSpice : https://github.com/octo-online/robospice .
RoboSpice is a library that makes it easy to execute network requests inside an Android Service, which is a good practice on Android. (more details in the GitHub repo's README).
In RoboSpice, we provide automatic caching of network related POJOs : the POJOs used as requests results are saved automatically in cache. For this, we just reuse the network serialisation/deserialisation code and save the result to a file.
It has been easy to include all json processing of Google Http Java Client in RoboSpice. And thanks for the work of making Jackson, Jackson2 and Gson work in a homogenous way. It's really a very nice idea and implementation.
We can see that you are pretty close to achieving the same thing using Xml. Nevertheless, there is no Xml generator class in Google Http Java Client, only a parser. Thus we can't save the results to disk, only read it. Would it be possible and useful for Google Http Java Client to provide a generator, in the same way as you do it for Json ?
Thanks in advance,
Stéphane NICOLAS
Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=171
The text was updated successfully, but these errors were encountered: