code: def process_json_line(self, data, name, idx):
          
          data = data.strip()
          if len(data) == 0:
              return
  
          ret = []
          try:
              js = json.loads(data)
              self.num_json += 1
              ret.append(self.process_json_rec(js, name, idx, []))
  
          except Exception as e:
              logger.debug('Exception in processing JSON %s idx %s : %s' % (name, idx, e))
              self.trace_logger.log(e)
          return ret
docs: Processes single json line
          :param data:
          :param name:
          :param idx:
          :return: