I am executing SOQL queries using SOAP API.It might result in Account or Opportunity or other salesforce data.
I want to use the result i.e SObject to be passed to a another API.
But the target API accepts only Serializable objects
So how can I make SObject as serializable?
Is there a way to generate SObject class itself as a serializable?