class_docstr: a ``Predictor`` is a thin wrapper around an AllenNLP model that handles JSON -> JSON predictions
  that can be used for serving models through the web API or making predictions in bulk.
class_docstr_tok: ["a","``","Predictor","``","is","a","thin","wrapper","around","an","AllenNLP","model","that","handles","JSON","-",">","JSON","predictions","that","can","be","used","for","serving","models","through","the","web","API","or","making","predictions","in","bulk","."]
docstr: Converts a list of JSON objects into a list of :class:`~allennlp.data.instance.Instance`s.
  By default, this expects that a "batch" consists of a list of JSON blobs which would
  individually be predicted by :func:`predict_json`. In order to use this method for
  batch prediction, :func:`_json_to_instance` should be implemented by the subclass, or
  if the instances have some dependency on each other, this method should be overridden
  directly.
docstr_tok: ["Converts","a","list","of","JSON","objects","into","a","list","of",":","class",":","`","~allennlp.data.instance.Instance","`","s",".","By","default",",","this","expects","that","a","``","batch","''","consists","of","a","list","of","JSON","blobs","which","would","individually","be","predicted","by",":","func",":","`","predict_json","`",".","In","order","to","use","this","method","for","batch","prediction",",",":","func",":","`","_json_to_instance","`","should","be","implemented","by","the","subclass",",","or","if","the","instances","have","some","dependency","on","each","other",",","this","method","should","be","overridden","directly","."]
code: def _batch_json_to_instances(self, json_dicts):
      """
      Converts a list of JSON objects into a list of :class:`~allennlp.data.instance.Instance`s.
      By default, this expects that a "batch" consists of a list of JSON blobs which would
      individually be predicted by :func:`predict_json`. In order to use this method for
      batch prediction, :func:`_json_to_instance` should be implemented by the subclass, or
      if the instances have some dependency on each other, this method should be overridden
      directly.
      """
      instances = []
      for json_dict in json_dicts:
          instances.append(self._json_to_instance(json_dict))
      return instances
  
imports: from __future__ import absolute_import
  import json
  from allennlp.common import Registrable
  from allennlp.common.checks import ConfigurationError
  from allennlp.common.util import JsonDict, sanitize
  from allennlp.data import DatasetReader, Instance
  from allennlp.models import Model
  from allennlp.models.archival import load_archive
label_desc: Use image node_id 9 for calling the Predictor obj's underlying member method code with example usage: obj._batch_json_to_instances(json_dicts) and returns: instances