private void parseProjectResult(JSONResponse jresponse, ref RProjectResultDetails resultDetails) { JObject jresult = jresponse.JSONMarkup; if (!(jresult == null)) { String execution = JSONUtilities.trimXtraQuotes(jresult["execution"].Value <string>()); String name = JSONUtilities.trimXtraQuotes(jresult["filename"].Value <string>()); int size = jresult["length"].Value <int>(); String type = JSONUtilities.trimXtraQuotes(jresult["type"].Value <string>()); String url = JSONUtilities.trimXtraQuotes(jresult["url"].Value <string>()); resultDetails = new RProjectResultDetails(execution, name, size, type, url); } }
private void parseProjectResult(JSONResponse jresponse, ref RProjectResultDetails resultDetails) { JObject jresult = jresponse.JSONMarkup; if (!(jresult == null)) { String execution = JSONUtilities.trimXtraQuotes(jresult["execution"].Value<string>()); String name = JSONUtilities.trimXtraQuotes(jresult["filename"].Value<string>()); int size = jresult["length"].Value<int>(); String type = JSONUtilities.trimXtraQuotes(jresult["type"].Value<string>()); String url = JSONUtilities.trimXtraQuotes(jresult["url"].Value<string>()); resultDetails = new RProjectResultDetails(execution, name, size, type, url); } }