JSON:API "changed" turns into an object

Created on 10 December 2019, over 5 years ago
Updated 7 May 2025, 2 months ago

JSON:API attribute "changed" turns into an object. Normally it would be just a date string.

{
  "jsonapi": { ... },
  "data": [
    {
      "type": "node--article",
      "id": "...",
      "attributes": {
        "drupal_internal__nid": 598,
        "title": "...",
        "changed": {
          "value": "2019-08-20T04:36:24+00:00",
          "preserve": null
        }
      },
      "links": { ... }
    }
  ],
  "meta": { ... },
  "links": { ... }
}
🐛 Bug report
Status

Active

Component

Code

Created by

🇹🇭Thailand juhog

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.

Production build 0.71.5 2024