import GleeMessage from '../lib/message.js' ; import { MiddlewareCallback } from './index.js' ; export default ( message , next ) => { try { message . payload = JSON . parse ( message . payload ) ; } catch ( e ) { } next ( ) ; } ;