why JSON strings?
- easy portability
- remoting-friendly
- leads to very compact API
- JSON parsing/generating overhead is IMO minimal
   and probably more effecient than creating (and collecting) tons of
   small java objects on the heap


I doubt this. In fact I think the situation with the small Java objects is even worse in the face of a JSON based API: typically a (de)serialization layer will create an additional set of intermediate objects which have to be consumed/translated into the domain objects of the respective implementation.

Michael

Reply via email to