import json
import logging


def parse_json(json_path):
    """
    parser JSON
    Args: 
      json_path: input json file path
    Returns: 
      json_dict: parser json dict result
    """
    try:
        with open(json_path) as json_file:
            json_dict = json.load(json_file)
    except Exception:
        logging.error("json file load error !")
    else:
        return json_dict