Plone 6 classic
This is perhaps a wild idea so I'll give some background on what I'm trying to do. I'm trying to use datatables for a table with a large number of rows and would like to use the JSON feed to load dynamically. The data requires a lot of HTML in each cell and and I already have a chameleon page template macro for each column cell. What I wanted to try was to call each macro with whatever variables and then stuff this into a JSON feed. I don't know if this is even possible?
I think the alternative would be to not use chameleon templates at all, and build the table entirely in javascript. This is not as attractive to me because I'm using these same template macros on other views and would prefer to have a single method to do so.