I have below object.
{
Inputs : {
key : value,
key: valu
}},
I want to convert it into json format JSON.stringify(Inputs) which is giving a format like below which is wrong and hence my code is failing.
"{"Inputs":{"key":"value","key":"value"}}"
I dont want double quote in the initial position. It shold be in below format so that my code will work.
{"Inputs":{"key":"value","key":"value"}}
Any help please. Thanks in advance.
JSON.stringify()returns a string. A string is enclosed in quotes.