Skip to content
Bug Barometer

JSON.stringify(new String('foo')) is returning an object instead of a string with LWS enabled

Not fixed yet. Salesforce has scheduled a fix.

Summary

JSON.stringify(new String('foo')) is returning an object instead of a string with LWS enabled.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Scheduled

    Nov 30, 2026

Also open in Lightning Framework