From 7d5e3ada56386db6213de745142fbaa9147cd155 Mon Sep 17 00:00:00 2001 From: TanookiVerde Date: Thu, 4 Jan 2024 17:42:16 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20prefeitu?= =?UTF-8?q?ra-rio/fhir-utils@f8609d0effc4e146bd3f185c6a339cf5b4d9d7cc=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils.html b/utils.html index 37776642..a50cec07 100644 --- a/utils.html +++ b/utils.html @@ -26,7 +26,8 @@

Module fhir_utils.utils

Expand source code -
import json
+
# -*- coding: utf-8 -*-
+import json
 import xmltodict
 
 def json_to_dict(json_file_path):
@@ -53,8 +54,8 @@ 

Module fhir_utils.utils

except Exception as e: print(f"Error: Unable to parse XML file. Reason: {str(e)}") return None - - + + def save_to_json(dict, json_path,): with open(json_path, "w") as file: json.dump(dict, file)