07-22-2019 05:02
07-22-2019 05:02
var test = JSON.parse('{ "name":"John", "age":30, "city":"New York"}');
console.log('testing parsing', test);
i have used this sample josn to parse but i am unable to parse.
Can anyone help me to get it right.
Thanks in advance
Best Answer07-24-2019 11:38
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
07-24-2019 11:38
Hi @DBirnale,
Can you confirm the language you are using? Maybe the community will be able to provide you assistance on the best way for parsing JSON after the language is clarified.
If you're using javascript, maybe this will help: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse
I hope this helps!
Best Answer07-25-2019 06:08
07-25-2019 06:08
Yes i am using javascript only.
Best Answer