Which .Net Framework needed to use System.Text.Json

Khushi Shaikh 86 Reputation points
2020-08-12T16:46:07.737+00:00

Hello .Net Gurus - I am working in Windows forms where I am receiving data in JSON format from a web service. I need to de-serialize into DataSet. I have come accross with System.Text.JSON. Currently I have 4.5.2 .NET Framework. Which .Net Framework supports System.Text.JSON? I don't want to work with preview version for .NET Framwork. Any guidance please?

Thanks & Regards,
Khushi

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,899 questions
0 comments No comments
{count} vote

Accepted answer
  1. Castorix31 85,706 Reputation points
    2020-08-12T16:51:48.703+00:00

    You can see the documentation, at JSON serialization and deserialization (marshalling and unmarshalling) in .NET - overview
    where there is :

    How to get the library
    The library is built-in as part of the .NET Core 3.0 shared framework.
    For other target frameworks, install the System.Text.Json NuGet package. The package supports:
    .NET Standard 2.0 and later versions
    .NET Framework 4.7.2 and later versions
    .NET Core 2.0, 2.1, and 2.2

    3 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Khushi Shaikh 86 Reputation points
    2020-08-13T19:26:23.683+00:00

    Thanks Castorix your reply was helpful.

    Best Regards,

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.