Home  >  Article  >  Backend Development  >  Detailed introduction about failure to deserialize

Detailed introduction about failure to deserialize

巴扎黑
巴扎黑Original
2017-06-15 09:40:411702browse

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; &

1. C# Json deserialization data contract type cannot be deserialized because the required data member is not found

Detailed introduction about failure to deserialize

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn