Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views REST Field Format

Security covered Maintenance fixes only 37 sites

Part of the Views ecosystem · 280 projects

This module allows you to specify the data format for individual fields when exporting views as REST. It ensures that data types, like numbers, are correctly represented in the output format, such as JSON, rather than being treated as generic strings.

Implements a custom ViewsRow plugin that allows to specifically define the data format by field for serialization.

This allows that e.g. a number from an ID is actually a number in JSON and not a string.

Usage

Just select Formatted Fields in a REST export views and select the desired data format for each field in settings.

Drupal 10–11

Ask your assistant about Views REST Field Format

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

  • rest Drupal core
  • serialization Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Nov 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.2 Stable 10–11 Jan 7, 2025
1.0.1 Stable 10–11 Nov 11, 2024
1.0.0 Stable 10–11 Nov 8, 2024
1.x-dev Dev 10–11 Nov 8, 2024