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
Consider the following JavaScript file test.js:
test.js
JSON.parse("{\"abc\\tdef\": \"42\"}");
Note that the property name contains a \t . The following code will fail:
\t
var engine = new Jint.Engine(); engine.Execute(File.ReadAllText(@"TestFiles\test.js"));
Exception:
Jint.Runtime.JavaScriptException: Invalid character in property name 'abc def' at parse <anonymous>:1:1 at <anonymous>:1:1
The same code works fine in Edge:
This only seems to affect property names, tabs in values work fine.
Version is latest beta v3.0.0-beta-2031
The text was updated successfully, but these errors were encountered:
Thanks for reporting, created #898 to fix the issue.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Consider the following JavaScript file
test.js
:Note that the property name contains a
\t
. The following code will fail:Exception:
The same code works fine in Edge:
This only seems to affect property names, tabs in values work fine.
Version is latest beta v3.0.0-beta-2031
The text was updated successfully, but these errors were encountered: