17 lines
538 B
Python
Executable file
17 lines
538 B
Python
Executable file
import json
|
|
|
|
MASTER_V2 = '/workspace/ecommerce_research_sources/benchmark_master_v2.json'
|
|
ECOSYSTEM_JSON = '/workspace/ecommerce_research_sources/brand_ecosystem_services.json'
|
|
|
|
with open(MASTER_V2, 'r', encoding='utf-8') as f:
|
|
master = json.load(f)
|
|
|
|
with open(ECOSYSTEM_JSON, 'r', encoding='utf-8') as f:
|
|
eco = json.load(f)
|
|
|
|
master["brand_ecosystem_pillars"] = eco
|
|
|
|
with open(MASTER_V2, 'w', encoding='utf-8') as f:
|
|
json.dump(master, f, ensure_ascii=False, indent=2)
|
|
|
|
print("Master V2 updated with brand ecosystem pillars.")
|