PHP library to encode and decode JSON