|
|
|
|
|
by fforw
4914 days ago
|
|
First of all, if native JSON parsing exists, jQuery will use that. The validation code they use in case there is no native JSON implementation available is borrowed from Douglas Crockford's json2.js ( https://github.com/douglascrockford/JSON-js/blob/master/json... ) which was the inspiration for the native JSON implementations and should really be correct by now, both in terms of correctness but also circumventing regexp weaknesses in some engines. |
|