def test_config_structure_json(self):
        """Test the configuration structure with json format"""
        with patch.dict(os.environ, {'MARQO_LOG_FORMAT': 'json', 'MARQO_LOG_LEVEL': 'debug'}):
            importlib.reload(marqo_logging)
            from marqo.logging import LOGGING_CONFIG

            self.assertEqual(LOGGING_CONFIG['handlers']['default']['formatter'], 'default-json')
            self.assertEqual(LOGGING_CONFIG['handlers']['access']['formatter'], 'access-json')
Test the configuration structure with json format
tests/unit_tests/marqo/test_logging.py