code: def setDataType(self, value):
      jdt = SparkContext.getOrCreate()._jvm.org.apache.spark.sql.types.DataType.fromJson(
          value.json(),
      )
      self._java_obj = self._java_obj.setDataType(jdt)
      return self
  
file_path: SynapseML/core/src/main/python/synapse/ml/io/http/JSONOutputParser.py
imports: import sys
  from synapse.ml.io.http._JSONOutputParser import _JSONOutputParser
  from pyspark.ml.common import inherit_doc
  from pyspark import SparkContext
  import json
  from pyspark.sql.types import StructType
label_desc: Use image node_id 1 for calling the JSONOutputParser obj's underlying member method code with example usage: obj.setDataType(value) and returns: self