Uh oh!
There was an error while loading. Please reload this page.
fix leading zeroes json bug - #6
Conversation
On some browser number with leading zeroes are considered strings. When receiving json number values with leading zeroes, instead of a string, an error occurs. This change checks that the number does not contain leading zeroes.
mccrackend
commented
Mar 2, 2016
@rodryquintero Mind writing a test for this before I merge? Thanks for your support. |
rodryquintero
commented
Mar 2, 2016
I would if I knew how 😃 El El mar, 1 de mar de 2016 a las 10:06 p.m., Dan McCracken <
|
uvg
commented
Mar 31, 2016
Please notice that i changed it to elseif (+data=data) { .... (in ClassMethod Encode @ Class CacheJSON). |
On some browser number with leading zeroes are considered strings. When
receiving json number values with leading zeroes, instead of a string,
an error occurs.
This change checks that the number does not contain leading zeroes.