Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Static Public Member Functions | |
static | convert ($data) |
This class was introducted only for usage in the \Magento\Framework\DataObject::toJson method. It should not be used in other cases and instead \Magento\Framework\Serialize\Serializer\Json::serialize should be used.
Definition at line 13 of file JsonConverter.php.
|
static |
This method should only be used by \Magento\Framework\DataObject::toJson All other cases should use \Magento\Framework\Serialize\Serializer\Json::serialize directly
string | int | float | bool | array | null | $data |
Definition at line 23 of file JsonConverter.php.