Welcome to the Treehouse Community
Looking to learn something new?
Arikaturika Tumojenko8,897 Points
Why using quotes when writing the values represented by numbers?
I noticed Dave didn't use quotes when the wrote down the achievements and points values for the first object, but he used for the rest. Why?
I am assuming this is something that has been overlooked when typing out the object quickly. You can wrap numbers in a JSON object in quotes, that is not a problem at all, the problem lies with the fact it has been stored as a string and not a number.
Check the below post for a little example.
Thank you. Thought the same thing. Greetings!