how to parse nested JSON in PHP

In this video I have shown how to parse nested JSON in PHP. This example is demonstrated in xampp server in windows pc. I have shown 2 examples in the video.

1. JSON Value 1

2. The above JSON is parsed with below PHP code.

3. On running the above code in local host, The result is shown below.

4. JSON Value 2

5. The code to parse the above json is shown below.

6. After running the above code in localhost server. The result is shown below.

296 views