via make.wordpress.org => original post link
WordPress 6.1 has introduced some server-side filters to hook into the theme.json data provided at the different data layers:
theme_json_default: hooks into the default data provided by WordPress
theme_json_blocks: hooks into the data provided by the blocks