About 297,000 results
Open links in new tab
  1. Serialization - .NET | Microsoft Learn

    Oct 25, 2023 · This article provides information about .NET serialization technologies, including binary serialization, XML and SOAP serialization, and JSON serialization.

  2. XmlSerializer.Deserialize Method (System.Xml.Serialization)

    public: System::Object ^ Deserialize (System::Xml::XmlReader ^ xmlReader, System::String ^ encodingStyle, System::Xml::Serialization::XmlDeserializationEvents events);

  3. DesignerSerializationVisibilityAttribute Class …

    The values of a property marked as Visible will be serialized, if possible, by a serializer for the type. To specify custom serialization for a particular type or property, use the …

  4. JavaScriptSerializer クラス (System.Web.Script.Serialization)

    定義 名前空間: System. Web. Script. Serialization アセンブリ: System.Web.Extensions.dll

  5. JsonSerializerOptions Class (System.Text.Json) | Microsoft Learn

    Provides options to be used with JsonSerializer.Json Serializer Options Class In this article Definition Remarks Constructors Properties Show 3 more Definition

  6. How to serialize properties of derived classes with …

    Nov 12, 2024 · Serialize properties of derived classes Beginning with .NET 7, System.Text.Json supports polymorphic type hierarchy serialization and deserialization with attribute annotations.

  7. XmlSerializer Class (System.Xml.Serialization) | Microsoft Learn

    using System; using System.Xml; using System.Xml.Serialization; using System.IO; /* The XmlRootAttribute allows you to set an alternate name (PurchaseOrder) of the XML element, …

  8. How to deserialize JSON in C# - .NET | Microsoft Learn

    Oct 3, 2025 · WeatherForecast deserializedWeatherForecast = JsonSerializer.Deserialize<WeatherForecast>(ref utf8Reader)!; ' This code example doesn't …

  9. How to customize property names and values with System.Text.Json

    Jun 27, 2025 · Update #ClassName: when the property name contains more than one word, change the serialized property name to use underscores between words. Use built-in …

  10. How to use source generation in System.Text.Json - .NET

    Nov 12, 2024 · Because System.Text.Json uses reflection by default, calling a basic serialization method can break Native AOT apps, which doesn't support all required reflection APIs.