An example of using Newtonsoft's Json.NET to perform object serialization in JSON format. Inheritance has also been used in the example.
The outputs of the program are written in the code as comments. You may just open Program.cs to see the code.
Even though that if you want to execute the program, you may:
- Download and install .NET if it is not already installed on your computer.
- Go to the project directory and run
dotnet run
in the console.