Serialized long string serialization

Created on 29 June 2020, over 4 years ago
Updated 6 September 2024, 4 months ago

Problem/Motivation

When denormalizing JSON:API data, serialized field are problematics.

For examples:

As a maintainer of Entity Share and Entity Visibility Preview, I have made some workaround using the JSON:API Extras module.

Those workarounds are JSON:API Extras' field enhancer plugins. For Metatag, the plugin is in Entity Share. For Entity Visibility Preview, the plugin is in Entity Visibility Preview.

Recently an issue had been opened and a patch provided for Paragraph's behaviors. The field enhancer plugin is the same as the one for Entity Visibility Preview.

So I wanted to know if a generic solution exists or is being discussed (I looked into core JSON:API issues and found nothing). Maybe a generic plugin can be added into JSON:API Extras directly?

Proposed resolution

Discuss a generic solution.

Remaining tasks

  • Discuss of a generic solution
  • Implement the solution

User interface changes

None

API changes

Unknown

Data model changes

None

Release notes snippet

Unknown

💬 Support request
Status

Closed: works as designed

Version

11.0 🔥

Component
JSON API 

Last updated 9 days ago

Created by

🇫🇷France Grimreaper France 🇫🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand quietone

    I am closing this support request because there have been no recent comments. The Drupal Core issue queue is not the ideal place for support requests. Consider other

    The Drupal Core issue queue is not the ideal place for support requests. The 'support request' option is there for filing support issues for contributed modules and themes. There are several support options listed on our support page (Community > Support at the top of Drupal.org) and there is Drupal Slack . You may get better replies in one of those places.

Production build 0.71.5 2024