The following example shows how you can use Json.Net to serialize the data in an C# Object's instance, to JSON string.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
public class Employee
{
public string FirstName { get; set; }
public string LastName { get; s...