Currently Layout Builder module is not working as expected with JSON:API (see this issue for more info https://www.drupal.org/project/drupal/issues/2942975#comment-13752188). A patch needs to be applied to Drupal core in order to allow Layout Builder field contents (laytous, components) to be exposed through JSON :API.
Find the proper patch for Drupal version 10.1 and add it to the composer.json file under the section patches
Currently Layout Builder module is not working as expected with JSON:API (see this issue for more info https://www.drupal.org/project/drupal/issues/2942975#comment-13752188). A patch needs to be applied to Drupal core in order to allow Layout Builder field contents (laytous, components) to be exposed through JSON :API.
Find the proper patch for Drupal version
10.1and add it to thecomposer.jsonfile under the sectionpatches