src/SA/CpeSdk/CpeActivity.php
private function doInputValidation($input)
    {
        // Check JSON input
        if (!($this->input = json_decode($input)))
            throw new \SA\CpeSdk\CpeException("JSON input is invalid!",
                                              self::INPUT_INVALID);
    }
private function doInputValidation($input)
    {
        // Check JSON input
        if (!($this->input = json_decode($input)))
            throw new \SA\CpeSdk\CpeException("JSON input is invalid!",
                                              self::INPUT_INVALID);
    }
private function doInputValidation ( $ input ) { // Check JSON input if ( ! ( $ this -> input = json_decode ( $ input ) ) ) throw new \ SA \ CpeSdk \ CpeException ( "JSON input is invalid!" , self :: INPUT_INVALID ) ; }
Perform JSON input validation
Decode JSON to Associative array
Perform JSON input validation Decode JSON to Associative array