Do a lot of javascript? Well eventually you'll run into json_encode and its inverse, json_decode. The function takes any PHP object or array and encodes it as a javascript object. This simplifies the transfer of data between server and client sides of an application.