class_docstr: Deserialize JSON lines data from an inference endpoint.
class_docstr_tok: ["Deserialize","JSON","lines","data","from","an","inference","endpoint","."]
docstr: Deserialize JSON lines data from an inference endpoint.
  
  See https://docs.python.org/3/library/json.html#py-to-json-table to
  understand how JSON values are converted to Python objects.
  
  Args:
      stream (botocore.response.StreamingBody): Data to be deserialized.
      content_type (str): The MIME type of the data.
  
  Returns:
      list: A list of JSON serializable objects.
docstr_tok: ["Deserialize","JSON","lines","data","from","an","inference","endpoint",".","See","https",":","\/\/docs.python.org\/3\/library\/json.html","#","py-to-json-table","to","understand","how","JSON","values","are","converted","to","Python","objects",".","Args",":","stream","(","botocore.response.StreamingBody",")",":","Data","to","be","deserialized",".","content_type","(","str",")",":","The","MIME","type","of","the","data",".","Returns",":","list",":","A","list","of","JSON","serializable","objects","."]
code: def deserialize(self, stream, content_type):
      """Deserialize JSON lines data from an inference endpoint.
  
      See https://docs.python.org/3/library/json.html#py-to-json-table to
      understand how JSON values are converted to Python objects.
  
      Args:
          stream (botocore.response.StreamingBody): Data to be deserialized.
          content_type (str): The MIME type of the data.
  
      Returns:
          list: A list of JSON serializable objects.
      """
      try:
          body = stream.read().decode("utf-8")
          lines = body.rstrip().split("\n")
          return [json.loads(line) for line in lines]
      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 JSONLinesDeserializer obj's underlying member method code with example usage: obj.deserialize(stream, content_type) and returns: unknown