First page Back Continue Last page Overview Graphics

JSON: S-expressions of the web

XML supposed to be S-expressions of the web.

JSON: S-expression simplicity regained

From instigator of ES3.1 simplification.

Cross origin requests (XHR2,XDR) coming.

How to obtain remote data?

Today: Can parse quickly or safely, choose one

JSONP → script tag → full vulnerability

json2.js → regex guarded eval, thin ice

full parser in JavaScript code → safe but slow

json_sans_eval → best compromise today