code: function () {
        var $this = this;
        var data = [];
  
        $('.jqs-day', $this.element).each(function (index, day) {
          var periods = [];
          $('.jqs-period', day).each(function (index, period) {
            periods.push($this.periodData($(period)));
          });
  
          data.push({
            day: index,
            periods: periods
          });
        });
  
        return JSON.stringify(data);
      }
docs: Export data to JSON string
  @returns {string}