private void StartParse(JSONNode xObj)
    {
        var titlePositionSplit = xObj["title_text_position"].Value.Split(',');

        PollTitlePosition = new Vector3(float.Parse(titlePositionSplit[0]), float.Parse(titlePositionSplit[1]), float.Parse(titlePositionSplit[2]));

        PollId = int.Parse(xObj["poll_id"].Value);
        NumberOfQuestionsAsked = int.Parse(xObj["num_questions_asked"].Value);
        PollTitle = xObj["title_text"].Value;
        var allQuestions = xObj["questions"];

        try
        {
            QuestionsData = new List <PollQuestionData>();
            for (int i = 0; i < allQuestions.Count; i++)
            {
                var qd = new PollQuestionData(allQuestions[i]);
                if (qd.Enabled)
                {
                    QuestionsData.Add(qd);
                }
            }
        }
        catch (Exception e)
        {
            Debug.LogWarning(e.ToString());
        }
    }
 public void SetPollQuestionData(PollQuestionData data)
 {
     Data = data;
 }