Code examples for the tutorial How to Read, Decode, Encode, and Write JSON Files in PHP? The code is packaged as a simple Symfony application with cli commands.