code: function() {
              var data = {
                  src: this._image.src,
                  width: this._image.w,
                  height: this._image.h,
                  crops: []
              };
  
              for(var n = 0; n < this._image.crops.length; n++) {
                  data.crops.push({
                      id: this._image.crops[n].id,
                      x: Math.round(this._image.crops[n].x),
                      y: Math.round(this._image.crops[n].y),
                      width: Math.round(this._image.crops[n].w),
                      height: Math.round(this._image.crops[n].h),
                      usable: this._image.crops[n].usable
                  });
              }
  
              return data;
          }
docs: Get soft crop data for image