docs icon indicating copy to clipboard operation
docs copied to clipboard

Missing Information

Open cafenroy opened this issue 5 years ago • 3 comments

This is an article about a Serialization technique that does not include the equivalent Deserialization technique.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cafenroy avatar Mar 12 '21 19:03 cafenroy

Deserialization is not supported. See the note at the end of the article --

For more information about polymorphic serialization, and for information about deserialization, see How to migrate from Newtonsoft.Json to System.Text.Json."

The link goes to an article that explains that a custom converter is required.

tdykstra avatar Mar 12 '21 19:03 tdykstra

Deserialization is not supported.

I did not click on "How to migrate from Newton..." because I am not migrating from Newtonsoft.

An article about Serialization that does not include the Deserialization technique is useless for most cases. It is a very specific scenario. This should go in a "blue rectangle".

cafenroy avatar Mar 12 '21 20:03 cafenroy

Good points - I'll put the note about deserialization in an alert box and will change the link text.

tdykstra avatar Mar 12 '21 21:03 tdykstra