I want to get a set of data objects through ajax and analyze them in JS data.
I currently have 2 options: - The server returns a valid javascript code, and then I evaluate it. - The server returns a JSON object and then changes the json object
What is the fastest of them in Firefox? (I only care about the performance of the "parsing", and not about the transfer of the server or data).
json javascript jquery eval ajax
AlfaTeK
source share