Atmospheric characterization of rocky to giant exoplanets in thermal emission with JWST