Home >Backend Development >C#.Net Tutorial >Detailed introduction about failure to deserialize
Background I am using today: C# Json serialization and deserialization. The following error message appeared during deserialization. System.Runtime.Serialization.SerializationException: Data contract type "TestEntity" cannot be deserialized because the required data member "multipleChoice, runTimeDisplayColumns" was not found. In System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value) the specific reason is: I added two new properties to the deserialized entity class: private bool multipleChoice; &
Introduction: The following error message appeared during deserialization.
2. json - After PHP array serialization, the data cannot be deserialized. Urgent
Introduction: I serialized an array into MySQL, then obtained it with PHP and sent it in JSON format. When the interface accepted the data, I converted the JSON into an array, and finally found the serialized array corresponding to the product_list key of the array. Cannot be deserialized, why is this? ...
[Related Q&A Recommendations]:
The situation where the session data between two redis programs will cross each other
json - After PHP array serialization, the data cannot be deserialized, urgent
The above is the detailed content of Detailed introduction about failure to deserialize. For more information, please follow other related articles on the PHP Chinese website!