update
This commit is contained in:
1 parent
83278b2998
commit
b38ceec784
128 files changed
+51554
No files matched your search
@@ -0,0 +1,24 @@
|
||||
import json
|
||||
|
||||
with open('import/OPS01.json', 'r', encoding='utf-8') as f:
|
||||
ops01 = json.load(f)
|
||||
|
||||
print("Top-level keys in OPS01.json:", list(ops01.keys()))
|
||||
print("Project Info:")
|
||||
for k in ['version', 'exportedAt', 'id', 'title', 'category', 'level', 'durationDays', 'requiredHours', 'status', 'isRecommended']:
|
||||
print(f" {k}: {ops01.get(k)}")
|
||||
|
||||
print("\nSummary:\n", ops01.get('summary'))
|
||||
print("\nObjectives:\n", ops01.get('objectives'))
|
||||
print("\nDeliverables:\n", ops01.get('deliverables'))
|
||||
print("\nConstraints:\n", ops01.get('constraints'))
|
||||
print("\nEvalSummary:\n", ops01.get('evalSummary'))
|
||||
print("\nPrerequisites:\n", ops01.get('prerequisites'))
|
||||
print("\nProjectSkills:\n", ops01.get('projectSkills'))
|
||||
print("\nMission count:", len(ops01.get('missions', [])))
|
||||
|
||||
m0 = ops01['missions'][0]
|
||||
print("\nMission 1 keys:", list(m0.keys()))
|
||||
for k, v in m0.items():
|
||||
if k != 'guideSteps':
|
||||
print(f" {k}: {v}")
|
||||
Reference in new issue
Block a user