I am facing an issue that JSON.stringify not stringifies all the keys in a JSON Object.
ie. window.performance.getEntries()[0]
contains around 17 keys. But on converting to a string, the result contains only 4 keys.
How can I convert all the keys in window.performance.getEntries()[0]
?
I want the complete string output of window.performance.getEntries()
which is an array and I used JSON.stringify(window.performance.getEntries())
.
Thanks in advance..