Newtonsoft.Json.Linq.JArray to string array C#

If model.Users is of type Newtonsoft.Json.Linq.JArray try to call:

string[] Users = model.Users.ToObject<string[]>()

Leave a Comment