Some APIs, like the paypal API use a string type in JSON to represent a decimal number. So "7.47"
instead of 7.47
.
Why/when would this be a good idea over using the json number value type? AFAIK the number value type allows for infinite precision as well as scientific notation.