var jsonString = @"{}"; var jsonDoc = JsonSerializer.Deserialize<Dictionary<string, object>>(jsonString); jsonDoc.Add("Name", "Khurshid Ali"); Console.WriteLine(JsonSerializer.Serialize(jsonDoc));