[jboss-as7-dev] json vs custom parser
Jason T. Greene
jason.greene at redhat.com
Tue Feb 1 21:21:04 EST 2011
On 2/1/11 7:10 PM, David M. Lloyd wrote:
> IMO, the only reason we have a JSON parser/deparser at all is that
> _some_people_ (whom I will not name) think it's better because it's
> "standard-y" and seems easier to interface. I have a suspicion that the
> binary protocol will supercede JSON in all use cases, including JS
> clients, due to performance and correctness reasons. Though the burden
> is likely to fall on me to prove that. :)
The advantage of JSON is really ease of consumption. You can't get much
easier than eval(response).
--
Jason T. Greene
JBoss, a division of Red Hat
More information about the jboss-as7-dev
mailing list