You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The $entries do contain all the data when I var_dump them. But when I serialize them with json_encode the resulting object doesn't provide included entries and fields like content or fields (see below - content is []). There are no images and files. I have custom fields, they're not serialized either:
Is that right? Should I serialize everything myself?
For example when using Contentful Javascript SDK, there's the whole JSON object with all levels of hierarchy in the output.
The text was updated successfully, but these errors were encountered:
I'm using
contentful/laravel
version 8.2.0 with PHP 7.4. And getting entries like this:The
$entries
do contain all the data when Ivar_dump
them. But when I serialize them withjson_encode
the resulting object doesn't provide included entries and fields likecontent
orfields
(see below -content
is[]
). There are no images and files. I have custom fields, they're not serialized either:Is that right? Should I serialize everything myself?
For example when using Contentful Javascript SDK, there's the whole JSON object with all levels of hierarchy in the output.
The text was updated successfully, but these errors were encountered: