I am a newbie here in JSON and need your input. I have a html file which loads my .json file
<script type="text/javascript">
function load_data() {
$.getJSON("/data/rain.json", function(data) {
.....
});
}
load_data();
where my rain.json file is loading the counts of raining days in the last month (30 days), quarterly and yearly
{
"30 days": 1,
"90 days": 17,
"365 days": 80,
"last_update": "2019-11-11 17:07:33"
}
How to I display this information in one row of the table with the header?
Thanks.