public static function type_json_decode($var, $settings)
	{
		$assoc = false;
		if (array_key_exists('json_assoc', $settings))
		{
			$assoc = (bool)$settings['json_assoc'];
		}
		return json_decode($var, $assoc);
	}
public static function type_json_decode($var, $settings)
	{
		$assoc = false;
		if (array_key_exists('json_assoc', $settings))
		{
			$assoc = (bool)$settings['json_assoc'];
		}
		return json_decode($var, $assoc);
	}
public static function type_json_decode ( $ var , $ settings ) { $ assoc = false ; if ( array_key_exists ( 'json_assoc' , $ settings ) ) { $ assoc = ( bool ) $ settings [ 'json_assoc' ] ; } return json_decode ( $ var , $ assoc ) ; }
Decodes the JSON

@param   string  value

@return  mixed
Decodes the JSON