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.
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.
More in the Views ecosystem
Most installed first