code: def json2elem(json_data, factory=ET.Element):
  
      
  
      return internal_to_elem(json.loads(json_data), factory)
docs: Convert a JSON string into an Element.
  
      Whatever Element implementation we could import will be used by
      default; if you want to use something else, pass the Element class
      as the factory parameter.