original_string: public function importJson($jsonData)
      {
          $json = json_decode($jsonData, true);
  
          if ($json === null) {
              throw new \InvalidArgumentException("Footprint json is not a valid");
          }
  
          if (!is_array($json)) {
              throw new \InvalidArgumentException("Footprint json data is not a valid");
          }
  
          $this->_data += $json;
      }
code: public function importJson($jsonData)
      {
          $json = json_decode($jsonData, true);
  
          if ($json === null) {
              throw new \InvalidArgumentException("Footprint json is not a valid");
          }
  
          if (!is_array($json)) {
              throw new \InvalidArgumentException("Footprint json data is not a valid");
          }
  
          $this->_data += $json;
      }
code_tokens: public function importJson ( $ jsonData ) { $ json = json_decode ( $ jsonData , true ) ; if ( $ json === null ) { throw new \ InvalidArgumentException ( "Footprint json is not a valid" ) ; } if ( ! is_array ( $ json ) ) { throw new \ InvalidArgumentException ( "Footprint json data is not a valid" ) ; } $ this -> _data += $ json ; }
docstring: Import footprints from json string
  
  @param string $jsonData
  
  @return void
docstring_tokens: Import footprints from json string