function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SumitkSumitk 

Can I get records data in JSON format using LDS in LWC component?

ANUTEJANUTEJ (Salesforce Developers) 
Hi Sumitk,

There is an implementation that uses lds in lightning web components in the below link that you can have a look at once:

>> http://www.sfdcpanda.com/reusable-lightning-data-service-detail-page-in-lwc/

Also, in the documentation [https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.data_wire_example] there is a statement "xample demonstrates data access via the returned JSON object. To simplify data access, use getFieldValue(record, field)." you can try checking this link as well.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.