- var_dump: documentation ( source)
- json_decode: documentation ( source)
<?php
$json = '{"id":5795,"startDate":"2012-04-13T00:00:00+0200","endDate":"2012-07-20T00:00:00+0200","name":"Philips Sonicare AirFloss"}';
var_dump(json_decode($json), json_decode($json, true));