JSFiddle - React, Tailwind, and code Playground
HTML
<div data-animation='{ "top": 600, "left": 600, "opacity": 1, "start": 0.2, "finish": 0.8 }'></div>
JavaScript
$('div[data-animation]').each(function() {
var json = JSON.parse($(this).attr('data-animation'));
alert(json.top);
});