[Vuejs]-Error in looping and rendering JSON data from API

0👍

I don’t think that is a valid object first off.

"results": [["dc:title",553], should be "results": [{"dc": "title", "key": 553}]

notice the curly braces { and the key missing from the second numeric prop

check this out: https://www.w3schools.com/js/js_json_objects.asp
you can run ur json through a validator as well to make sure: https://jsonformatter.curiousconcept.com/

Leave a comment