Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

JSON Entity Storage

No security coverage Under active development

This module provides an alternative way to store Drupal content entities by saving field values in JSON documents. It optimizes data retrieval and storage by reducing the number of database queries needed, even for entities with many fields or pending revisions. This approach also allows fields to change their data type or cardinality without moving existing data.

JSON Entity Storage is an alternative backend for Drupal content entities. It stores field values in JSON documents while preserving the SQL layout Drupal expects for entity queries: generated columns expose single-value fields, and SQL views expose multi-value fields.

Key features

  • The storage reads all of an entity's field values in one query and writes them in one query per shared table, regardless of how many single-value or multi-value fields it has.
  • Pending revisions can hold incomplete data. The storage enforces required fields only when it saves a published default revision.
  • A field can change cardinality without moving its stored values. The new limit simply cannot discard existing values.
  • New field storages share the entity's existing data tables, which is especially useful when staging field changes in a workspace.

This is experimental work that also serves as a proving ground for new core database APIs. It requires these core changes:

  • #3343634: JSON support in the database API.
  • #3586688: Generated columns in the schema API.
  • #3618770: SQL views in the schema API.

Ask your assistant about JSON Entity Storage

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Aug 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release Aug 31, 2026
1.0.x-dev Dev Aug 31, 2026