Activity › Forums › Salesforce® Discussions › Convert javascript object into string in lightning component? Salesforce® Discussions Convert javascript object into string in lightning component? Posted by Anuj on July 15, 2020 at 2:58 PM how to Convert javascript object into string in lightning ? Kirandeep replied 5 years, 10 months ago 2 Members · 1 Reply 1 Reply Kirandeep Member July 16, 2020 at 1:04 PM Use the JavaScript function JSON. stringify() to convert it into a string. var myJSON = JSON. stringify(obj); Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me