Re: [android-developers] Parser

2013-02-14 Thread Kristopher Micinski
Ah, that makes sense, I've seen a similar thing in ORM-y things for Java. My arguments against static code bloat are also somewhat invalidated by the fact that most JSON libraries will be small footprint by design. Kris On Thu, Feb 14, 2013 at 12:09 AM, Kevin Duffey andjar...@gmail.com wrote:

Re: [android-developers] Parser

2013-02-13 Thread Kevin Duffey
As long as you agree..that's all that matters.. ;). No I hear you.. for simple things I agree too.. although I always tend to try to eek every last bit of speed/memory save I can and would probably these days just use jackson for everything. Jackson has a nice json to pojo and pojo to json feature

[android-developers] Parser

2013-02-12 Thread Arun Kumar K
Hi, I want to know which parser is best for android application.. What is the different between json and jackson parser. which parser is best json or JACKSON -- *Thanks Regards* *K.Arun Kumar* -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Parser

2013-02-12 Thread Kristopher Micinski
JSON is so easy to use, I've never really had a problem with org.json. If you can get by using it I would do that, as it's already in the API (you won't have statically linked code sitting around clouding your app). kris On Tue, Feb 12, 2013 at 7:16 AM, Arun Kumar K arunkuma...@npcompete.net

Re: [android-developers] Parser

2013-02-12 Thread Kevin Duffey
The problem with the built in o e is it is similar to a DOM parser for xml in that it will load the entire json document into memory first. Jackson is a json stream processor so it uses a lot less memory and is typically much faster. I lean towards Jackson myself. On Feb 12, 2013 7:27 AM,

Re: [android-developers] Parser

2013-02-12 Thread Kristopher Micinski
I don't disagree, It's just that I'm typically processing a very minor amount of data (responses from web APIs, a small amount of the time). But like I said, it's a trade off, for any real use of JSON I'd also recommend something stream based, : ) Kris On Tue, Feb 12, 2013 at 2:54 PM, Kevin

Re: [android-developers] Parser avec Gson des objets de classe qui extends OverlayItem

2011-03-10 Thread TreKing
My French is rusty, but: Nous parlons Englais ici. Oui? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this

[android-developers] Parser avec Gson des objets de classe qui extends OverlayItem

2011-03-09 Thread Jérem080
Mon problème est le suivant : Tout d'abord, j'utilise Gson pour désérialiser un flux Json et ainsi obtenir une liste avec tous mes objets créés (attributs du style : lat, lon, détail, ville, etc). Tout se passe pour le mieux. Le problème est que ma classe EXTENDS OverlayItem (pour pouvoir être

[android-developers] Parser avec Gson des objets de classe qui extends OverlayItem

2011-03-09 Thread Jérem080
Mon problème est le suivant : Tout d'abord, j'utilise Gson pour désérialiser un flux Json et ainsi obtenir une liste avec tous mes objets créés (attributs du style : lat, lon, détail, ville, etc). Tout se passe pour le mieux. Le problème est que ma classe EXTENDS OverlayItem (pour pouvoir être

[android-developers] Parser XML return table

2009-09-16 Thread sweet
Hello I'm new to android dev and I'd like to make a Parser xml which return a table of string, i've try to find a tuto in the net but without success. I know i should use SAX parser but i don't understand his working if anybody can explain to me it will be very nice or if anybody know a tutorial