1

i'm using that search query

  string siteUrl = "<site>";
  string  queryText ="Path:\"pathTosearch/*\" IsDocument:1";
  string rowlimit = "10";
  string sortExpression = "Write:descending";
  string uriTempale = "{0}_api/search/query?querytext='{1}'&rowlimit={2}&sortlist='{3}'";

and i call it with httpwebrequest i need to parse the result to C# object, is there a direct way to achieve that or i have to use
dynamic dynObj = Newtonsoft.Json.JsonConvert.DeserializeObject(result);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.