aboutsummaryrefslogtreecommitdiff
path: root/resumejson_converter/utils/json.py
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-03 17:26:08 +0200
committerneodarz <neodarz@neodarz.net>2019-08-03 17:26:08 +0200
commitca4560242b5e8557a1cd40a882adc2bacbcbd20c (patch)
tree5c29f43323e1945c4f2a1704e8e826be62551df1 /resumejson_converter/utils/json.py
parent46f2126c12abb69971b586be4e1548f37d50386a (diff)
downloadresumejson_converter-ca4560242b5e8557a1cd40a882adc2bacbcbd20c.tar.xz
resumejson_converter-ca4560242b5e8557a1cd40a882adc2bacbcbd20c.zip
Add more documentation
Diffstat (limited to 'resumejson_converter/utils/json.py')
-rw-r--r--resumejson_converter/utils/json.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/resumejson_converter/utils/json.py b/resumejson_converter/utils/json.py
index f3ce3d1..77e1312 100644
--- a/resumejson_converter/utils/json.py
+++ b/resumejson_converter/utils/json.py
@@ -8,6 +8,8 @@ from jsonresume.exceptions import InvalidResumeError
class JsonObject(object):
"""
+ Simple JSON object.
+
All work for this function go to
https://dev.to/mandrewcito/nested-json-to-python-object--5ajp
"""
@@ -27,6 +29,9 @@ class JsonObject(object):
def load(json_filepath):
+ """
+ Return a JsonObject from resumejson_converter.utils.json.
+ """
try:
logging.info("JSON parsing...")
with open(json_filepath, 'r') as f: