JSFiddle - React, Tailwind, and code Playground JavaScript var data = [{"name":"myName" ,"address": "myAddress" }]; alert(data[0].name)