pretify json online code example
Example 1: json beautify
fetch('https://fakestoreapi.com/products')
.then(res=>res.json())
.then(json=>console.log(json))
Example 2: json beautify
fetch('https://fakestoreapi.com/products/1')
.then(res=>res.json())
.then(json=>console.log(json))