src/Http/Traits/HasJsonInput.php
/**
	 * Checks if the JSON decode operation encountered an error and stores it if so.
	 */
Checks if the JSON decode operation encountered an error and stores it if so.
Checks if the JSON decode operation encountered an error and stores it if so .
private function jsonStoreError() {
		$error = json_last_error_msg();
		if ($error == 'No error') {
			$error = null;
		}
		$this->jsonError = $error;
	}
private function jsonStoreError ( ) { $ error = json_last_error_msg ( ) ; if ( $ error == 'No error' ) { $ error = null ; } $ this -> jsonError = $ error ; }
Checks if the JSON decode operation encountered an error and stores it if so.
Checks if the JSON decode operation encountered an error and stores it if so .
// Get the last error (symfony/polyfill-php55) // Use null for no error // Store the error