예제 #1
0
        //  Public Functions    ///////////////////////////////////////////////////////////////////

        public void PostRequest()
        {
            //Load the response from the most recent release
            string serializedResponse = GetReleases();

            //Deserialize the response body and load into the respective member
            m_ResponseBody = new JavaScriptSerializer().Deserialize <JiraRestResponseBody>(serializedResponse);
            //m_ResponseBody = (JiraRestResponseBody)JsonConvert.DeserializeObject(serializedResponse);
        }
예제 #2
0
        //  Constructors    ///////////////////////////////////////////////////////////////////////

        public JiraRestRequestHandler()
        {
            m_RequestBody  = new JiraRestRequestBody();
            m_ResponseBody = new JiraRestResponseBody();
        }