- Use the JSON field type, this is stored in the Db Configuring fields for content-types | Strapi Documentation
- It’s stored as a string
- Yes
- You can write a custom method within Strapi to do this as part of middleware or as a custom plugin or as a hook. You’d probably leverage lodash to do whatever you needed. It may be wiser to create the JSON output as a collection type, and store your data in the database to be accessed with the API, rather than dumping data into a single field. You could then ingest and mutate the data response to do whatever you needed on both inputs and outputs of data if it’s coming from a third party.
2 Likes