code: def __init__(self, jsonpath, filepath):
      self.jsonpath = jsonpath
      self.shapes = []
      self.verified = False
      self.filename = filepath.split("/")[-1:][0]
      try:
          self.parse_json()
      except ValueError:
          print("JSON decoding failed")
  
file_path: PaddleOCR/PPOCRLabel/libs/create_ml_io.py
imports: import json
  from pathlib import Path
  from libs.constants import DEFAULT_ENCODING
  import os
label_desc: Use image node_id 1 to create a new CreateMLReader object  with example: obj = CreateMLReader(jsonpath, filepath)