(self, scrap, **kwargs)
return loader.decode(scrap, **kwargs)
Finds the register for the given encoder and translates the scrap's data
        from a string or JSON type to an object of the encoder output type.

        Parameters
        ----------
        scrap: Scrap
            A partially filled in scrap with data that needs decoding
Finds the register for the given encoder and translates the scrap's data
        from a string or JSON type to an object of the encoder output type.
Finds the register for the given encoder and translates the scrap s data from a string or JSON type to an object of the encoder output type .
def decode(self, scrap, **kwargs):
        """
        Finds the register for the given encoder and translates the scrap's data
        from a string or JSON type to an object of the encoder output type.

        Parameters
        ----------
        scrap: Scrap
            A partially filled in scrap with data that needs decoding
        """
        # Run validation on encoded data
        scrap_to_payload(scrap)
        loader = self._encoders.get(scrap.encoder)
        if not loader:
            raise ScrapbookMissingEncoder(
                'No encoder found for "{}" encoder type!'.format(scrap.encoder)
            )
        return loader.decode(scrap, **kwargs)
def decode ( self , scrap , * * kwargs ) : # Run validation on encoded data scrap_to_payload ( scrap ) loader = self . _encoders . get ( scrap . encoder ) if not loader : raise ScrapbookMissingEncoder ( 'No encoder found for "{}" encoder type!' . format ( scrap . encoder ) ) return loader . decode ( scrap , * * kwargs )