FIX: fix JSONDataFormatter to not convert values to XML

This commit is contained in:
Andreas Piening 2018-04-17 11:56:21 +12:00
parent ee37e6c896
commit 4ec6eb4db0
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class JSONDataFormatter extends DataFormatter
continue;
}
$fieldValue = $obj->obj($fieldName)->forTemplate();
$fieldValue = $obj->obj($fieldName)->RAW();
$mappedFieldName = $this->getFieldAlias($className, $fieldName);
$serobj->$mappedFieldName = $fieldValue;
}