using System.Text.Json.Nodes;
static string wrap(string value) => '"' + value + '"';
string testJson = string.Format("{{ {0} : [ {1}, {2}, {3} ] }}", wrap("MyArray"), wrap("Item1"), wrap("Item2"), wrap("Item3"));
var doc = JsonNode.Parse( testJson );
Console.WriteLine("Original Value: \n");
Console.WriteLine(testJson);
doc["MyArray"][0] = "NewItem";
Console.WriteLine("\nUpdated: \n");
Console.WriteLine(doc.ToString());