A detailed description of the inability to deserialize

Source: Internet
Author: User
The background is in use today: The following error message appears when C # Json serialization and deserialization is deserialized. System.Runtime.Serialization.SerializationException: Data contract type ' testentity ' cannot be deserialized because the required data member ' Multiplechoice is not found, Runtimedisplaycolumns ". In System.ComponentModel.ReflectPropertyDescriptor.SetValue (object component, Object value) The reason is: I added two new attributes to the deserialized entity class: private bool Multiplechoice; &

1. C # JSON deserialization data contract type cannot be deserialized because a required data member was not found

Summary: The following error message appears when deserializing.

2. After serialization of the json-php array, the data cannot be deserialized

Introduction: I put an array serialized in MySQL, and then after using PHP to send out in JSON format, the interface to accept this data, and then convert the JSON into an array, and finally found that the array product_list key to the corresponding serialized array can not be deserialized, What is this for? ...

"Related question and answer recommendation":

The session data between redis two programs is interconnected

After the json-php array is serialized, the data cannot be deserialized.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.