docs: def setDecoder(self, decoder):
          """
          Sets the client's decoder
          ``decoder`` should be an instance of a ``json.JSONDecoder`` class
          """
          if not decoder:
              self._decoder = json.JSONDecoder()
          else:
              self._decoder = decoder
          self._decode = self._decoder.decode