This project is not covered by Drupal’s security advisory policy.

Provide JSON content for SPA.

To install: composer require drupal/webapp_json

To use just add _format=webapp_json in your request parameters.

Eg: https://my_drupal_site.com/homepage?_format=webapp_json

A flatted version is also available by adding flat query parameter.

Eg: https://my_drupal_site.com/homepage?_format=webapp_json&flat

Project information

Releases