I have a JSON file which I need to iterate over, as shown below...
{
\"device_id\": \"8020\",
\"data\": [{
\"Timestamp\": \"04-29-11 05:22:39
If you want to avoid blocking, which is only necessary for very large loops, then wrap the contents of your loop in a function called like this: process.nextTick(function(){, which will defer execution until the next tick, giving an opportunity for pending calls from other asynchronous functions to be processed.