You need to sign in to do that
Don't have an account?
Poorna Developer
Convert JSON to LWC
Hi all,
I have JSON data like,
{"data":{"id":"448234325073116067","customer_id":"25654656354619231","lead_email":"******2@gmail.com.com","connection_ids":["2911647243243459434"],"status":"initialized","created_at":"2021-03-29T06:41:06Z"}}
I wish to display the above JSON data in lightning record page like a list view.
Instead of this ,
Id - Customer_Id - lead_email - connection_ids - status
448234325073116067 -25654656354619231-******2@gmail.com.com-2911647243243459434-initialized
This there any idea?
Thanks everyone.
I have JSON data like,
{"data":{"id":"448234325073116067","customer_id":"25654656354619231","lead_email":"******2@gmail.com.com","connection_ids":["2911647243243459434"],"status":"initialized","created_at":"2021-03-29T06:41:06Z"}}
I wish to display the above JSON data in lightning record page like a list view.
Instead of this ,
Id - Customer_Id - lead_email - connection_ids - status
448234325073116067 -25654656354619231-******2@gmail.com.com-2911647243243459434-initialized
This there any idea?
Thanks everyone.
Here Below, this code for converting your JSON to LWC List
Now You have to write a JS File for the Above code that would store the lead Json in variable Lead so the LWC component use that to show data
If you find this helpful mark it as the best answer.
thanks, Regards
Malika Pathak