You can save your current json object in a temporary variable right before you end the for loop.
In the next run, you will have access to the current and previous json objects.
For loop
1. Your logic with current json object
2. Save your current json into a temporary variable
say (PreviousJObject) within the for loop scope.
Next iteration continues.