Disable type validation while JSON.parse

Viewed 133

Have String {"a":100.000} and I need to parse it as JSON object. When I run JSON.parse("{\"a\":100.000}"), output is {a: 100}.

How do I retain the original format of value after parsing it as JSON object?

0 Answers
Related