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
salesforce@14salesforce@14 

how we can serialize the blob data?

Thanks in Advance.
Ashish_Sharma_DEVSFDCAshish_Sharma_DEVSFDC
Hi,

You can convert it to string as below. 
String myString = 'StringToBlob';
Blob myBlob = Blob.valueof(myString);
System.assertEquals('StringToBlob', myBlob.toString());

Hope this solves your issue.