class_docstr: Predictor for the :class:`~allennlp.models.encoder_decoder.simple_seq2seq` model.
docstr: Expects JSON that looks like ``{"source": "..."}``.
docstr_tok: ["Expects","JSON","that","looks","like","``","{","``","source","''",":","``","...","''","}","``","."]
code: def _json_to_instance(self, json_dict):
      """
      Expects JSON that looks like ``{"source": "..."}``.
      """
      source = json_dict["source"]
      return self._dataset_reader.text_to_instance(source)
  
file_path: magnitude/pymagnitude/third_party/allennlp/predictors/simple_seq2seq.py
imports: from __future__ import absolute_import
  from allennlp.common.util import JsonDict
  from allennlp.data import Instance
  from allennlp.predictors.predictor import Predictor
label_desc: Use image node_id 2 for calling the SimpleSeq2SeqPredictor obj's underlying member method code with example usage: obj._json_to_instance(json_dict) and returns: self