We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exception on parsing a float value. since float use "," also the key:value separator
to fix (sorry, I don't know how to make a PR) replace
if (inSymbol){ if(c==' ' || c=="\n" || c=="\r" || c=="\t" || c==',' || c==":" || c=="}" || c=="]"){ //end of symbol, return it pos--; return symbol; } else{ symbol+=c; continue; }
by
if (inSymbol){ if(c==' ' || c=="\n" || c=="\r" || c=="\t" || c==":" || c=="}" || c=="]"){ //end of symbol, return it pos--; return symbol; } else if(c==","){ //i doubt pos > json.length in this case var c2 = json.charAt(pos); if ((c2 >= '0') && (c2<= '9')) { symbol+=c; continue; } else { //not in float pos--; return symbol; } } else{ symbol+=c; continue; }
HTH
The text was updated successfully, but these errors were encountered:
No branches or pull requests
exception on parsing a float value.
since float use "," also the key:value separator
to fix (sorry, I don't know how to make a PR)
replace
by
HTH
The text was updated successfully, but these errors were encountered: