php – How to loop to load the result Json

Personally, I need help, I'm downloading information from Json, as follows:

<? php

$ json_data = json_decode (file_get_contents (& # 39; file3.json & # 39;), true);

foreach ($ json_data["Result"] like $ data) {


echo
Address: & # 39; $ Data["CreditData"][0]["Addresses"][0]["AddressMain"]; echo
Number: & # 39; $ Data["CreditData"][0]["Addresses"][0]["Number"]; echo
Complement: & # 39; $ Data["CreditData"][0]["Addresses"][0]["Complement"]; echo
City: & # 39; $ Data["CreditData"][0]["Addresses"][0]["City"]; echo
Postal Code: & # 39; $ Data["CreditData"][0]["Addresses"][0]["ZipCode"]; echo
Family: & # 39; $ Data["CreditData"][0]["Addresses"][0]["Neighborhood"]; echo
State: & # 39 ;. $ Data["CreditData"][0]["Addresses"][0]["State"]; echo
Country: & # 39; $ Data["CreditData"][0]["Addresses"][0]["Country"]; echo
& # 39 ;; // I DO NOT WANT TO REPEAT THE LINE BELOW AND PLACE HERE A LOOP TO LOAD AUTOMATICALLY THE ADDRESSES REQUIRED echo
Address: & # 39; $ Data["CreditData"][0]["Addresses"][1]["AddressMain"]; echo
Number: & # 39; $ Data["CreditData"][0]["Addresses"][1]["Number"]; echo
Complement: & # 39; $ Data["CreditData"][0]["Addresses"][1]["Complement"]; echo
City: & # 39; $ Data["CreditData"][0]["Addresses"][1]["City"]; echo
Postal Code: & # 39; $ Data["CreditData"][0]["Addresses"][1]["ZipCode"]; echo
Family: & # 39; $ Data["CreditData"][0]["Addresses"][1]["Neighborhood"]; echo
State: & # 39 ;. $ Data["CreditData"][0]["Addresses"][1]["State"]; echo
Country: & # 39; $ Data["CreditData"][0]["Addresses"][1]["Country"]; echo
& # 39 ;; } ?>

QUESTION:

As you can see, it is necessary to bring the address of a certain person, but some people have more than one registered address, so that he can import one or two or more than five different addresses. . How to create a loop so you do not have to repeat the lines?