async def deserialize(self, tx):
        """
        Deserialize a transaction

        arg:str:tx:Serialized transaction
        """
        tx = tx_from_any(tx)
        return tx.to_json()

        Deserialize a transaction

        arg:str:tx:Serialized transaction
        
electrum/commands.py