class_docstr: Deserialize JSON data from an inference endpoint into a Python object.
class_docstr_tok: ["Deserialize","JSON","data","from","an","inference","endpoint","into","a","Python","object","."]
docstr: Deserialize JSON data from an inference endpoint into a Python object.
  
  Args:
      stream (botocore.response.StreamingBody): Data to be deserialized.
      content_type (str): The MIME type of the data.
  
  Returns:
      object: The JSON-formatted data deserialized into a Python object.
docstr_tok: ["Deserialize","JSON","data","from","an","inference","endpoint","into","a","Python","object",".","Args",":","stream","(","botocore.response.StreamingBody",")",":","Data","to","be","deserialized",".","content_type","(","str",")",":","The","MIME","type","of","the","data",".","Returns",":","object",":","The","JSON-formatted","data","deserialized","into","a","Python","object","."]
code: def deserialize(self, stream, content_type):
      """Deserialize JSON data from an inference endpoint into a Python object.
  
      Args:
          stream (botocore.response.StreamingBody): Data to be deserialized.
          content_type (str): The MIME type of the data.
  
      Returns:
          object: The JSON-formatted data deserialized into a Python object.
      """
      try:
          return json.load(codecs.getreader("utf-8")(stream))
      finally:
          stream.close()
  
imports: from __future__ import absolute_import
  import csv
  import abc
  import codecs
  import io
  import json
  import numpy
  from six import with_metaclass
  from sagemaker.utils import DeferredError
label_desc: Use image node_id 2 for calling the JSONDeserializer obj's underlying member method code with example usage: obj.deserialize(stream, content_type) and returns: json