JSFiddle - React, Tailwind, and code Playground

by thecodeparadox

HTML

<link rel="stylesheet" href="///ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/base/jquery-ui.css">

JavaScript

var data = {
    "status": true,
    "1": {
        "id": "1",
        "deal": "Testing the mobile"
    },
    "2": {
        "id": "2",
        "deal": "Testing"
    },
    "3": {
        "id": "3",
        "deal": "Testing"
    }
};

alert(data['1'].id);

alert(data['1'].deal);