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);
	}