to retrieve my data but i want to change the response structure that is being sent back. (the api call isn’t mine so can’t alter in server)
how can i do that? Or do i just have to write actually javascript to do it?
was tryin to leverage my already written templates.
Hmm, yeah, if it were me, I would pull that json with a script, manipulate it with jq to what you need, then pull it into your templates by doing getJSON on the local file.
yea i gess ill just create another template. Just wanted to see if there was like some easy way to manipulate the data that would make it easy to re-use the same template even though the fields don’t match