Convert Object to JSON

I have an object from a server action and wanted to convert it to JSON. I tried JSON.stringify() but it doesn’t seem to be support in the expressions. What is the best way to convert to a JSON string within an expression?

Community Page
Last updated: