Store custom post type with JSON content
The core WordPress data structures and the REST API’s core controllers aren’t really designed to ever treat post content as anything other than one big string. As Tom mentions in the comments, this means that storing JSON in that field will result in it being presented as an escaped string in REST responses rather than … Read more