SimpleJSON icon indicating copy to clipboard operation
SimpleJSON copied to clipboard

Error Parsing numbers in scientific representation

Open nwrkbiz opened this issue 4 years ago • 0 comments

See: https://github.com/nbsdx/SimpleJSON/blob/8dd3e9b84a0b532c46f22f402bafb2c4cf8621eb/json.hpp#L569

Should be: c = str[ offset ];

No increment of offset should happen here, otherwise parsing of numbers in scientific representation will fail.

nwrkbiz avatar Dec 11 '19 13:12 nwrkbiz