Skip to content

Commit

Permalink
Deploying to gh-pages from @ f8609d0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
TanookiVerde committed Jan 4, 2024
1 parent ebe51a4 commit 7d5e3ad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ <h1 class="title">Module <code>fhir_utils.utils</code></h1>
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">import json
<pre><code class="python"># -*- coding: utf-8 -*-
import json
import xmltodict

def json_to_dict(json_file_path):
Expand All @@ -53,8 +54,8 @@ <h1 class="title">Module <code>fhir_utils.utils</code></h1>
except Exception as e:
print(f&#34;Error: Unable to parse XML file. Reason: {str(e)}&#34;)
return None


def save_to_json(dict, json_path,):
with open(json_path, &#34;w&#34;) as file:
json.dump(dict, file)</code></pre>
Expand Down

0 comments on commit 7d5e3ad

Please sign in to comment.