Monday, August 5, 2019

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

While getting this error "Cannot implicitly convert type 'Newtonsoft.Json.Linq.JArray' to 'string[]'"

MenuJson=

SharePoint Online List Item 

 dynamic jsonString = JsonConvert.DeserializeObject(mylanProfanityItem.FieldValues["MenuJson"].ToString());
return jsonString.Words.ToObject<string[]>();



No comments:

Extracting x-ms-exchange-parent-message-id from a Text File Using Python

In the world of email processing and automation, extracting specific headers from email metadata can be crucial for various tasks. One such ...