Kevin Powell - CommunityKP-C
Kevin Powell - Community2mo ago
71 replies
Faker

Does data type persist in back-end when variable from front-end is sent in JSON format?

Hello, quick question, when I sent something as JSON from the front-end, if it's a number, does that data type persist or it becomes text/string at the end of the day?

Because, I noticed that when I use MongoDB, my price was being converted into a
string
if I made a PUT request to update that value.
Was this page helpful?