Questions tagged [serializer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
997 views

Something went wrong while saving the category

I get an error on Magento 2.3.5-p1 when trying to add products to an existing category. The products won't save and I get this message: Argument 1 passed to Magento\Catalog\Model\Category\FileInfo::...
0
votes
3answers
3k views

how to properly serialize / unserialize magento 2 models to json format

I'm trying to retrieve some data from a controller in a serialized format that I can unserialize later. For example, I have created an entity with the following data fields MyEntity entity_id ...