Join Slack
Powered by
hI guys, when returning an object in a RESTLET, sh...
# suitescript
m
Michael Scott
11/19/2021, 12:24 PM
hI guys, when returning an object in a RESTLET, should i return a JSON.stringify object or just the objet
e
eblackey
11/19/2021, 1:32 PM
We’ve done both. Doesn’t seem to matter. It gets returned as a string in the body either way.
m
Michael Scott
11/19/2021, 1:33 PM
thats what i figured
Michael Scott
11/19/2021, 1:33 PM
thanks
b
battk
11/19/2021, 1:43 PM
kinda depends on the suitescript version
battk
11/19/2021, 1:44 PM
there are
2 differences
between 2.0 and 2,1
👍 1
m
Michael Scott
11/19/2021, 1:48 PM
excellent observation Battk, thanks a lot
e
eblackey
11/19/2021, 1:54 PM
Thanks, we started with 2.1 so good to know.
4
Views
Open in Slack
Previous
Next