JSFiddle - React, Tailwind, and code Playground

HTML

<div id="html">

</div>

JavaScript

var datas = JSON.parse('[{"Attribute":{"id":"1","product_id":"1","category_id":"3","name":"Test2"}},{"Attribute":{"id":"2","product_id":"1","category_id":"3","name":"Tes1"}}]');

      for (var i = 0; i < datas.length; i++) {
          console.log(datas[i].Attribute);
          document.getElementById('html').innerHTML = document.getElementById('html').innerHTML + 		                       JSON.stringify(datas[i].Attribute) + '<br/>';
      }