I need to serialize,deserialize,read,write a list of objects Employee. I tried using json.net but there were issues with it. Any advice?
class Employee
        {
            public string First_name { get; set; }
            public string Last_name { get; set; }
            public string Gender { get; set; }
            public int Pin { get; set; }
            public bool Active { get; set; }
            public bool SignInStatus { get; set; }
            public string Department { get; set; }
            public DateTime SignInTime { get; set; }
            public DateTime SignOutTime { get; set; }
            public DateTime BreakSignInTime { get; set; }
            public DateTime BreakSignOutTime { get; set; }
            public double BreakTimeElasped { get; set; }
            public bool BreakStatus { get; set; }
            public double SessionTimeElasped { get; set; }
            public static List<Employee> EmployeeDatabase = new List<Employee>();
Constructor:
            public Employee(string firstname, string lastname, int pin, string department, string gender, bool active)
            {
                this.First_name = firstname;
                this.Last_name = lastname;
                this.Pin = pin;
                this.Department = department;
                this.Gender = gender;
                this.Active = active;
            }
Method to create objects and add to list
            public static void CreateNewEmployee(string firstname, string lastname, int pin, string department, string gender, bool active)
            {
                if (Employee.EmployeeDatabase.Count > 0)
                {
                    EmployeeDatabase.Add(new Employee(firstname, lastname, pin, department, gender, active));
                    int indexz = EmployeeDatabase.Count - 1;
                }
                else
                    EmployeeDatabase.Add(new Employee(firstname, lastname, pin, department, gender, active))
;
