A simple wrapper around json_encode() and json_decode() for catching any errors without executing json_last_error()