class_docstr: Hold some config params to control generation and report procedure.
class_docstr_tok: ["Hold","some","config","params","to","control","generation","and","report","procedure","."]
docstr: Constructs a `Config` from a json file of parameters.
docstr_tok: ["Constructs","a","`","Config","`","from","a","json","file","of","parameters","."]
code: def from_json_file(cls, json_file):
      r"""
      Constructs a `Config` from a json file of parameters.
  
      """
      with open(json_file, "r", encoding="utf-8") as reader:
          text = reader.read()
      return cls.from_dict(json.loads(text))
  
file_path: textflint/textflint/input/config/config.py
imports: import os
  import six
  import json
  import copy
  from ...common.utils.logger import logger
  from ...common.settings import NLP_TASK_MAP, ALLOWED_TRANSFORMATIONS, TRANSFORM_FIELDS, ALLOWED_SUBPOPULATIONS, ALLOWED_VALIDATORS, ALLOWED_cn_TRANSFORMATIONS
label_desc: Use image node_id 5 for calling the Config obj's underlying member method code with example usage: obj.from_json_file(cls, json_file) and returns: cls