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 JSON object into an :class:`~allennlp.data.instance.Instance`
  and a ``JsonDict`` of information which the ``Predictor`` should pass through,
  such as tokenised inputs.
docstr_tok: ["Converts","a","JSON","object","into","an",":","class",":","`","~allennlp.data.instance.Instance","`","and","a","``","JsonDict","``","of","information","which","the","``","Predictor","``","should","pass","through",",","such","as","tokenised","inputs","."]
code: def _json_to_instance(self, json_dict):
      """
      Converts a JSON object into an :class:`~allennlp.data.instance.Instance`
      and a ``JsonDict`` of information which the ``Predictor`` should pass through,
      such as tokenised inputs.
      """
      raise NotImplementedError
  
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 6 for calling the Predictor obj's underlying member method code with example usage: obj._json_to_instance(json_dict) without return types