NetSuite uses .toJSON to control the structure of the object returned by JSON.stringify. They can change the structure of a search result and still have the same JSON representation
d
darrenhillconsulting
05/26/2020, 9:03 PM
They implemented .toJSON on the search.Result object. Nice! What about the other way?
darrenhillconsulting
05/26/2020, 9:04 PM
@battk ^^ ?
b
battk
05/26/2020, 9:10 PM
i dont think there is a convenient way to change the JSON back into a search result