JSON over XML ?
But then again, all that performance gain is blown away by the poor performance of JSONT in transforming the JSON data to HTML. The XSLT transformation to transform XML to HTML performs much better when compared to the JSONT transformation as illustrated in the graph below, again from John Resig’s post (25 – 200 data records).
|Time (in seconds)/ Run|
|XML / XSLT||0.01014||0.010845||0.0116225||0.01213875|
|JSON / JSONT||0.01919||0.01958||0.0200075||0.02013375|