JSFiddle - React, Tailwind, and code Playground
by Jim_Toth
HTML
<div id="locations" data-locations='[{"per_def":100,"em_def":150,"px_def":1250},{}]'></div>
JavaScript
var testOne = $('#locations').data('locations');
$('#locations').append(testOne[0].per_def);