toJson(JSON_PRETTY_PRINT); header('Content-Type: application/json;charset=UTF-8'); echo $dbValue;