Learn what JSON is, and how to process it in PHP. Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth Topics covered: • JSON • Parsing and validating JSON data in PHP • Nested JSON data All source code shown is free to download: ‣ https://gist.github.com/daveh/4aef69186bd99a99aa31409844a24a99 Links shown in the video: ‣ https://www.php.net/manual/en/function.json-last-error.php ‣ https://www.php.net/manual/en/function.json-decode.php Videos: ‣ How to call APIs from PHP: https://youtu.be/wMyP-q3nPd4 ‣ How to use a REST API from PHP using cURL: https://youtu.be/rQqR-gKBBz0 00:00 Introduction 00:14 JSON overview 01:37 Validating JSON 01:49 Sample JSON data 02:44 Decoding JSON in PHP 03:41 Handling invalid JSON 04:25 JSON parsing errors 05:54 JSON exceptions 07:19 Handling nested data 09:00 JSON objects as PHP arrays 10:36 Format JSON with HTML example 12:04 Summary #PHP #json #project