XBRL-Signer.php
private function get_taxonomy( $json )
	{
		$taxonomy = json_decode( $json, true );

		if ( json_last_error() !== JSON_ERROR_NONE )
		{
			$error = "Error accessing the taxonomy" . XBRL::json_last_error_msg();
			throw new \Exception( "$error" );
		}

		return $taxonomy;
	}
private function get_taxonomy( $json )
	{
		$taxonomy = json_decode( $json, true );

		if ( json_last_error() !== JSON_ERROR_NONE )
		{
			$error = "Error accessing the taxonomy" . XBRL::json_last_error_msg();
			throw new \Exception( "$error" );
		}

		return $taxonomy;
	}
private function get_taxonomy ( $ json ) { $ taxonomy = json_decode ( $ json , true ) ; if ( json_last_error ( ) !== JSON_ERROR_NONE ) { $ error = "Error accessing the taxonomy" . XBRL :: json_last_error_msg ( ) ; throw new \ Exception ( "$error" ) ; } return $ taxonomy ; }
Create a taxonomy array structure
@param string $json The raw JSON
@throws \Exception An exception will be thrown if there is a problem parsing the JSON
@return array
Create a taxonomy array structure