mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-18 12:50:56 +00:00
Merge pull request #218 from teromene/master
Pretty-printing the output of JsonFormat.
This commit is contained in:
commit
2a621f1506
@ -11,7 +11,7 @@ class JsonFormat extends FormatAbstract{
|
|||||||
// FIXME : sometime content can be null, transform to empty string
|
// FIXME : sometime content can be null, transform to empty string
|
||||||
$datas = $this->getDatas();
|
$datas = $this->getDatas();
|
||||||
|
|
||||||
return json_encode($datas);
|
return json_encode($datas, JSON_PRETTY_PRINT);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function display(){
|
public function display(){
|
||||||
|
Loading…
Reference in New Issue
Block a user