Join Slack
Powered by
My questions are: Why do the JSON.stringify and th...
# suitescript
k
Kris Wood
07/22/2019, 3:18 PM
My questions are: Why do the JSON.stringify and the object itself look different? Why does that line error out in Production but not in Sandbox?
b
battk
07/22/2019, 4:17 PM
there isn't enough detail to tell what the difference between sandbox and production is
battk
07/22/2019, 4:17 PM
but JSON.stringify will not reflect the structure of the object if .toJSON is defined
👍 1
battk
07/22/2019, 4:17 PM
this is very common in ss2
k
Kris Wood
07/22/2019, 5:38 PM
Oh ok
Kris Wood
07/22/2019, 5:39 PM
The difference turned out to be bad data in Production
Kris Wood
07/22/2019, 5:39 PM
But good to know about JSON
Open in Slack
Previous
Next