-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
JSAP parsing error #5
Comments
Loading the JSAP via AJAX is fine:
Using a variable to store the JSAP causes the error:
|
It's quite strange, cause it's parsed by native javascript call JSON.parse. How do you call the constructor? |
It is not related to the JSAP api. It depends on how the jsap is specified (as variable or file) |
Did you store the string with backticks? Have a look here |
Just tried. It still fails.
… Il giorno 04 mag 2018, alle ore 12:40, Cristiano Aguzzi ***@***.***> ha scritto:
Did you store the string with backticks?
Have a look here <https://stackoverflow.com/questions/805107/creating-multiline-strings-in-javascript?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#5 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AOgdcZgB4oUYM0IoxjzsjhvjrMxKbl2Lks5tvDA4gaJpZM4TyaUu>.
|
Exception
Validated with: https://jsonformatter.curiousconcept.com/
The JSAP works fine with the Java APIs.
Here the JSAP:
The text was updated successfully, but these errors were encountered: