My questions are: Why do the JSON.stringify and th...
# suitescript
k
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
there isn't enough detail to tell what the difference between sandbox and production is
but JSON.stringify will not reflect the structure of the object if .toJSON is defined
👍 1
this is very common in ss2
k
Oh ok
The difference turned out to be bad data in Production
But good to know about JSON