[JsonFormat] Remove obsolete FIXME
We don't need to convert fields that are NULL, since json_encode will correctly encode those fields.
This commit is contained in:
parent
cf146523be
commit
5d0ee926a5
1 changed files with 0 additions and 1 deletions
|
@ -6,7 +6,6 @@
|
||||||
class JsonFormat extends FormatAbstract{
|
class JsonFormat extends FormatAbstract{
|
||||||
|
|
||||||
public function stringify(){
|
public function stringify(){
|
||||||
// FIXME : sometime content can be null, transform to empty string
|
|
||||||
$items = $this->getItems();
|
$items = $this->getItems();
|
||||||
|
|
||||||
return json_encode($items, JSON_PRETTY_PRINT);
|
return json_encode($items, JSON_PRETTY_PRINT);
|
||||||
|
|
Loading…
Reference in a new issue