Pretty print event JSONs

pull/869/merge
Iglocska 2016-04-18 10:06:16 +02:00
parent 68ae4e0b9f
commit 968fb75165
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class JSONConverterTool {
}
$result = array('Event' => $event['Event']);
if (isset($event['errors'])) $result = array_merge($result, array('errors' => $event['errors']));
return json_encode($result);
return json_encode($result, JSON_PRETTY_PRINT);
}
public function arrayPrinter($array, $root = true) {