An Interest In:
Web News this Week
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
April 22, 2022 10:12 pm GMT
Original Link: https://dev.to/zetax/how-do-i-clean-up-my-json-response-22h2
How do I clean up my json response?
Hey there! I am trying to store a json response in a mongodb database, but that isn't working because of the annoying format that looks like this: { '0': '9M0FY9GXM0' }
Does anyone know how to make it just output the second string instead of all of it when using for example "console.log(res.data)
"?
Thank you very much!
Original Link: https://dev.to/zetax/how-do-i-clean-up-my-json-response-22h2
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To