JSFiddle - React, Tailwind, and code Playground
by cory a
HTML
<p></p>
JavaScript
var b = { "Id": 1, "ProductCode": 148, "Battery": "", "OS": "", "SimCardCount": null, "CPU": "", "ScreenSize": null, "InternalStorage": null, "RAM": null, "MemoryCard": null, "Have3G": false, "Have4G": false, "Camera": null, "FrontCamera": null };
//loop the object using JQuery each
$.each(b, function(key, value) {
//display the key and value pairs however you want
$("p").append(key + ' is ' + value + "<br>");
});