using Newtonsoft.Json.Linq; JObject json = new JObject(); json.AddFirst(new JProperty("name", "John"));
using Newtonsoft.Json.Linq; JObject json = JObject.Parse("{\"name\":\"John\", \"age\":30}"); JProperty age = json.Property("age"); age.Remove(); json.AddFirst(age);This method is part of the Newtonsoft.Json package.