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

System.JSONException: Cannot deserialize instance of date from VALUE_STRING value 02/11/2007 at

I am getting a Response from Remote system with some parametrs like 

('{"Job":{"Id":832,"Status":"Completed (Warnings)"},"Data":{"?xml":{"@version":"1.0","@encoding":"utf-8"},"Loans":{"Loan":[{"Master_Servicer__c":null,"Maturity_Dt__c":"06/11/2012","Maturity_Trm__c":"360","ML_Remain_Mths__c":"0","Net_Spread__c":"1.850","NOI_UW__c":"546446",

I get the above Error . 

is there any way i need to type cast the data for Date format ?

Hi , 

date / datetimes should be in iso 8601 format, e.g. 2012-05-14T20:21:00Z

See more information in the link below,