我什么时候应该考虑使用优点和使用secureEvalJson超过evalJson
secureEvalJSON的缺点:Converts from JSON to Javascript, but does so while checking to see if the source is actually JSON, and not with other Javascript statements thrown in.
evalJSON:Converts from JSON to Javascript, quickly, and is trivial.
你能告诉我一个例子,其中secureEvalJSON超过evalJSON有益??
对使用secureEvalJSON的性能有什么影响?
有关此API的更多细节可发现于:http://code.google.com/p/jquery-json/