I'm trying to find a way to reformat an array of JSON objects that looks like:
[{"amount":3,"name":"Coca-Cola"},{"amount":3,"name":"Rib Eye"}]
I want to only print the values in plain html text. For example:
3 - Coca-Cola
3 - Rib Eye
How can i achieve this? My back end is Node.js so yeah maybe I can do that before building the html i will use.