Api/Method/TallantoCreateContactMethod.php
private function decode($json)
  {
    $decodedResult = json_decode($json, true);
    if (JSON_ERROR_NONE != json_last_error()) {
      throw new ResponseDecodeException('JSON error: '.json_last_error_msg());
    }

    return $decodedResult;
  }
private function decode($json)
  {
    $decodedResult = json_decode($json, true);
    if (JSON_ERROR_NONE != json_last_error()) {
      throw new ResponseDecodeException('JSON error: '.json_last_error_msg());
    }

    return $decodedResult;
  }
private function decode ( $ json ) { $ decodedResult = json_decode ( $ json , true ) ; if ( JSON_ERROR_NONE != json_last_error ( ) ) { throw new ResponseDecodeException ( 'JSON error: ' . json_last_error_msg ( ) ) ; } return $ decodedResult ; }
Parses and validates request parameters.

@param $json
@return array
@throws \Tallanto\ClientApiBundle\Exception\ResponseDecodeException
Parses and validates request parameters .