Lines Matching refs:json
18 import json
38 data = json.load(f)
51 data = json.load(f)
165 f.write(json.dumps(result, indent=2))
171 For example: python3 parse_kconf.py --deps={$repo}/out/{your_product}/part_deps_info/part_deps_info.json \n\
172 or python3 parse_kconf.py --base_product={$repo}/productdefine/common/base/base_product.json \
173 --out=./product.json --deps={$repo}/out/{your_product}/part_deps_info/part_deps_info.json --config=./.config'
179 parser.add_argument('--base_product', type=str, default="./../../../productdefine/common/base/base_product.json",
180 help='base_product.json file')
183 parser.add_argument('--out', type=str, default="./product.json",
184 help="define output file path and name, like './product.json'")