param { GlossaryEntry } return { Object } function encodeGlossaryEntry ( entry ) { return { id : entry . getID ( ) , name : entry . getName ( ) , description : entry . getDescription ( ) , } ; } export default encodeGlossaryEntry ;