About 283,000 results
Open links in new tab
  1. How to deserialize JSON in C# - .NET | Microsoft Learn

    Learn how to use the System.Text.Json namespace to deserialize from JSON in .NET. Includes sample code.

  2. How can I deserialize JSON with C#? - Stack Overflow

    In this example, JsonConvert class is used to convert an object to and from JSON. It has two static methods for this purpose. They are SerializeObject(Object obj) and …

  3. How to read JSON as .NET objects (deserialize) - GitHub

    Feb 11, 2025 · You can use AI tools, such as GitHub Copilot, to generate code that uses System.Text.Json to deserialize from JSON. For example, you can customize the prompt to …

  4. JSON Serialization and Deserialization in C# - C# Corner

    In this article, you will learn about JSON serialization and deserialization in C#. We can implement JSON Serialization/Deserialization by using JavaScriptSerializer class, …

  5. How to Serialize and Deserialize JSON in C#

    Learn how to effectively serialize and deserialize JSON in C# using .NET's built-in methods. Discover best practices, handle complex objects, and improve your data manipulation skills …

  6. C# JSON - working with JSON data in C# - ZetCode

    May 13, 2025 · Learn how to work with JSON in C# using the System.Text.Json and Json.NET libraries. This tutorial covers JSON serialization, deserialization, and efficient data handling in …

  7. Serializing and Deserializing JSON - Newtonsoft

    The quickest method of converting between JSON text and a .NET object is using the JsonSerializer. The JsonSerializer converts .NET objects into their JSON equivalent and back …

  8. C# JSON Deserialization: Strategies and Best Practices

    Jul 22, 2025 · When working with data in C#, particularly when interacting with APIs or external services, you’ll frequently encounter JSON. The process of converting JSON text into usable …

  9. Serialize and deserialize JSON using C# - .NET | Microsoft Learn

    Jan 29, 2025 · Learn how to serialize and deserialize JavaScript Object Notation (JSON) strings using the JsonSerializer class, the JsonSerializerOptions class, and Data Transfer Objects.

  10. Serialize and deserialize complex JSON in C# - CSharp Academy

    Nov 14, 2024 · In C#, handling complex JSON data structures—those with nested objects, arrays, and mixed data types—requires advanced serialization and deserialization techniques.