code: def json_output(self):
          
          enabled = self.lib.iperf_get_test_json_output(self._test)
  
          if enabled:
              self._json_output = True
          else:
              self._json_output = False
  
          return self._json_output
docs: Toggles json output of libiperf
  
          Turning this off will output the iperf3 instance results to
          stdout/stderr
  
          :rtype: bool