private void parseProjectPackage(JSONResponse jresponse, ref RProjectPackageDetails packageDetails) { JObject jprojectfile = jresponse.JSONMarkup; if (!(jprojectfile == null)) { String descr = JSONUtilities.trimXtraQuotes(jprojectfile["descr"].Value<String>()); String name = JSONUtilities.trimXtraQuotes(jprojectfile["name"].Value<String>()); String repo = JSONUtilities.trimXtraQuotes(jprojectfile["repo"].Value<String>()); String status = JSONUtilities.trimXtraQuotes(jprojectfile["status"].Value<String>()); String version = JSONUtilities.trimXtraQuotes(jprojectfile["version"].Value<String>()); Boolean attached = jprojectfile["attached"].Value<Boolean>(); packageDetails = new RProjectPackageDetails(descr, name, repo, status, version, attached); } }
private void parseProjectPackage(JSONResponse jresponse, ref RProjectPackageDetails packageDetails) { JObject jprojectfile = jresponse.JSONMarkup; if (!(jprojectfile == null)) { String descr = JSONUtilities.trimXtraQuotes(jprojectfile["descr"].Value <String>()); String name = JSONUtilities.trimXtraQuotes(jprojectfile["name"].Value <String>()); String repo = JSONUtilities.trimXtraQuotes(jprojectfile["repo"].Value <String>()); String status = JSONUtilities.trimXtraQuotes(jprojectfile["status"].Value <String>()); String version = JSONUtilities.trimXtraQuotes(jprojectfile["version"].Value <String>()); Boolean attached = jprojectfile["attached"].Value <Boolean>(); packageDetails = new RProjectPackageDetails(descr, name, repo, status, version, attached); } }