# 
# Author    : Manuel Bernal Llinares
# Project   : trackhub-creator
# Timestamp : 28-06-2017 11:03
# ---
# © 2017 Manuel Bernal Llinares <mbdebian@gmail.com>
# All rights reserved.
# 

"""
This module implements some useful functions for the pipeline runner
"""


@@ -259,8 +259,435 @@
 er%0A%22%22%22%0A%0A
+import json%0A%0A%0Adef read_json(json_file=%22json_file_not_specified.json%22):%0A%09%22%22%22%0A%09Reads a json file and it returns its object representation, no extra checks%0A%09are performed on the file so, in case anything happens, the exception will%0A%09reach the caller%0A%09:param json_file: path to the file in json format to read%0A%09:return: an object representation of the data in the json file%0A%09%22%22%22%0A%09with open(json_file) as jf:%0A%09%09return json.load(jf)%0A

read json formatted file into its object representation