code: def json_numpy_loader():
      
      data = request.get_json()
      logger.debug('Received JSON data of length {:,}'.format(len(data)))
      return data
docs: Load data from JSON request and convert to numpy array.