Consider this code:
var joWork = ((JObject) x).Properties()
.Where(p => p.Value.Type == JTokenType.String).ToList();
I end up with a List<JProperty>
.
Is there a quick way using Linq or a JSON.NET function to convert that List<JProperty>
object to a JObject without building a JObject from scratch in a loop?