I have response from Jira API, require to be deserialized into data model:
com.atlassian.greenhopper.service.sprint.Sprint@40675167[id=10151,rapidViewId=171,state=CLOSED,name=Sprint 37.1,startDate=2015-07-30T16:00:22.000+03:00,endDate=2015-08-13T16:00:00.000+03:00,completeDate=2015-08-13T14:31:34.343+03:00,sequence=10151]
This is actually the information of current sprint for issue. I need to deserialize it to model like:
public class Model
{
public string name { get; set; }
...
}
I have already removed all not-required information, like com.atlassian.greenhopper.service.sprint.Sprint@40675167 using Regex pattern [(.*?)] so I have brackets and all inside. Now I stopped completely trying to find the way how to convert this string to data model.
Thanks for help
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire