Skip to content

Instantly share code, notes, and snippets.

@fkchang
Created October 2, 2023 17:30
Show Gist options
  • Save fkchang/da78e57ae1c2cd828ce87135038a979f to your computer and use it in GitHub Desktop.
Save fkchang/da78e57ae1c2cd828ce87135038a979f to your computer and use it in GitHub Desktop.
chaining data
{
"Products": [
{
"ProductName": "Product A",
"Reviews": [
{"Rating": 5, "Text": "Amazing product! Highly recommend."},
{"Rating": 4, "Text": "Good quality, satisfied with my purchase."},
{"Rating": 3, "Text": "It's okay, but I expected better."},
{"Rating": 2, "Text": "Not what I expected, poor quality."},
{"Rating": 1, "Text": "Terrible, stopped working after a week."}
]
},
{
"ProductName": "Product B",
"Reviews": [
{"Rating": 5, "Text": "Exceeded my expectations, fantastic!"},
{"Rating": 4, "Text": "Very good, but could be cheaper."},
{"Rating": 3, "Text": "Average, gets the job done."},
{"Rating": 2, "Text": "Disappointed, not worth the money."},
{"Rating": 1, "Text": "Awful, a total waste of money."}
]
},
{
"ProductName": "Product C",
"Reviews": [
{"Rating": 5, "Text": "Perfect, just what I needed!"},
{"Rating": 4, "Text": "Solid choice, happy with it."},
{"Rating": 3, "Text": "It's fine, nothing special."},
{"Rating": 2, "Text": "Not great, would not buy again."},
{"Rating": 1, "Text": "Horrible, broke down instantly."}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment