code: def parseJsonToImageData(self, path: str, fileName: str) -> ImageData:
      path_str = self.loadJsonStr(path)
      json_str = json.loads(path_str)
      return self.jsonParser.jsonToImageData(fileName, json_str)
  
imports: import json
  import os
  import sys
  import unittest
  from MONAILabelReviewerLib.ImageData import ImageData
  from MONAILabelReviewerLib.JsonParser import JsonParser
  from MONAILabelReviewerLib.SegmentationMeta import SegmentationMeta
label_desc: Use image node_id 2 for calling the ImageDataTest obj's underlying member method code with example usage: obj.parseJsonToImageData(path, fileName) and returns: self