Skip to content

Instantly share code, notes, and snippets.

@rfeers
Created January 22, 2024 20:07
Show Gist options
  • Save rfeers/45dc00f1895f6c2b8a1e8de4b8d02c68 to your computer and use it in GitHub Desktop.
Save rfeers/45dc00f1895f6c2b8a1e8de4b8d02c68 to your computer and use it in GitHub Desktop.
nested_json = {
'name': 'David',
'city': 'London',
'income': 80000,
'skills': ["python", "SQL","GCP"],
'roles': {
"project manager":False,
"data engineer":False,
"data scientist":True,
"data analyst":False,
}
}
nested_json_2 = {
'name': 'Taylor',
'city': 'Chicago',
'income': 120000,
'skills': ["python", "SQL","PowerBI","Looker"],
'roles': {
"project manager":False,
"data engineer":False,
"data scientist":False,
"data analyst":True
}
}
nested_json_list = [
nested_json,
nested_json_2
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment