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
Hi,
I try use this node with MSSQL 2017 and JSON feature. Problem is that MSSQL add MS specific prefix to JSON result. Like below. String is always same.
"JSON_F52E2B61-18A1-11d1-B105-00805F49916B": "{\"ProductCode\":\"0040001\",\"ProductName\":\"Brother DK11209 osoitetarra 29x62mm\"}"
It changes JSON to JavaScript Objects says Nick O'Leary, see thread https://discourse.nodered.org/t/http-response-json-without-backslashes/19376/7?u=timnis
In node-mssql there is option "config.parseJSON = true" to strip out this MS prefix, could it be also possible to add to this node?
More info https://tediousjs.github.io/node-mssql/#json-support
The text was updated successfully, but these errors were encountered:
I tested to add "parseJSON: true," to mssql.js config and now JSON result is correct
[{"ProductCode":"0040001","ProductName":"Brother DK11209 osoitetarra 29x62mm"}]
So it works, at least to me.
Sorry, something went wrong.
JSON Support
b18ab71
#20 https://tediousjs.github.io/node-mssql/#json-support
No branches or pull requests
Hi,
I try use this node with MSSQL 2017 and JSON feature. Problem is that MSSQL add MS specific prefix to JSON result. Like below. String is always same.
It changes JSON to JavaScript Objects says Nick O'Leary, see thread
https://discourse.nodered.org/t/http-response-json-without-backslashes/19376/7?u=timnis
In node-mssql there is option "config.parseJSON = true" to strip out this MS prefix, could it be also possible to add to this node?
More info
https://tediousjs.github.io/node-mssql/#json-support
The text was updated successfully, but these errors were encountered: