public static function createFromJSON($json_obj)
 {
     $result = new self();
     foreach ($json_obj as $k => $v) {
         if (is_array($v)) {
             if ($k == Export::jsonField(true)) {
                 $exports = array();
                 foreach ($v as $export) {
                     $exports[] = Export::createFromJSON($export);
                 }
                 $result->{$k} = $exports;
             }
         } else {
             if (!empty($v)) {
                 $result->{$k} = $v;
             }
         }
     }
     return $result;
 }
 /**
  * Re-run an execution using new export values
  *
  * @param string $executionId
  * @param \Jaspersoft\Dto\ReportExecution\Export\Request $request
  * @return Export
  */
 public function runExportExecution($executionId, \Jaspersoft\Dto\ReportExecution\Export\Request $request)
 {
     $url = $this->makeUrl($executionId, false, false, true);
     $response = $this->service->prepAndSend($url, array(200), 'POST', $request->toJSON(), true);
     return Export::createFromJSON(json_decode($response));
 }