Open DevStreamLine opened 3 years ago
{
{ result: string }
. But your string contains a JSON payload. I'd guess this is sone kind of web framework. Your framework is calling JSON.stringify at a later stage again. You probably just want to return the object.
Hello,
I am a somewhat newbie with node.js but I have a beginner problem.
I am doing this:
but the result comes back as shown below and is not JSON, it looks like it may be because it has \" delimeters but I am not sure.
So, how do I get JSON to return back from my function?