How to dynamically create DataTable columns from JSON keys in UiPath C#?

when it is ensured that the JSON will only have one item within the results we can modify the above statement to:

dtResult=

JArray.FromObject( new JObject[1] {myJObject.SelectToken("results.[0].name").Value<JObject>() } ).ToObject<DataTable>()