Nested & Complex JSONintermediate

Social Activity Feed JSON Example

A feed item with actor, target, content metadata, and reaction aggregates.

Real-world use case: Use this for activity streams, notifications, or collaboration tools.
1{
2 "activityId": "act_4001",
3 "type": "comment.created",
4 "actor": {
5 "id": "usr_420",
6 "name": "Leah Kim"
7 },
8 "target": {
9 "type": "post",
10 "id": "post_884"
11 },
12 "content": {
13 "text": "Shipping update looks good to me.",

Where this shape shows up in production

Activity feeds
Collaboration apps
Notification centers

Related examples