We would like to use tablefield in a decoupled project using jsonapi.
At this moment the jsonapi outputs an empty value for the tablefield.

Do you have an idea what could be the cause of this?

Comments

Takki created an issue. See original summary.

lolandese’s picture

This was addressed for the D7 version at #2697105: RFC: Proposal to Enable Table Data Storage as JSON. It would be highly appreciated if you port the patch there to something similar for a 8.x-3.x version. Also look at the related issues.

lolandese’s picture

Issue summary: View changes
lolandese’s picture

For D7 the documentation can be found at https://www.drupal.org/docs/7/modules/tablefield/3-json-examples to have an idea how the JSON output can be tinkered through the field's Manage Display settings.