forked from paularmstrong/normalizr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.json
83 lines (83 loc) · 1.4 KB
/
output.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"entities": {
"users": {
"123": {
"id": "123",
"name": "Paul",
"posts": [
"1",
"2"
],
"comments": [
"250"
]
},
"245": {
"id": "245",
"name": "Jane",
"comments": [
"249",
"251"
],
"posts": []
},
"246": {
"id": "246",
"name": "Spambot5000",
"comments": [
"252"
]
}
},
"comments": {
"249": {
"id": "249",
"content": "Nice post!",
"commenter": "245",
"post": "1"
},
"250": {
"id": "250",
"content": "Thanks!",
"commenter": "123",
"post": "1"
},
"251": {
"id": "251",
"content": "Your other post was nicer",
"commenter": "245",
"post": "2"
},
"252": {
"id": "252",
"content": "I am a spammer!",
"commenter": "246",
"post": "2"
}
},
"posts": {
"1": {
"id": "1",
"title": "My first post!",
"author": "123",
"comments": [
"249",
"250"
]
},
"2": {
"id": "2",
"title": "This other post",
"author": "123",
"comments": [
"251",
"252"
]
}
}
},
"result": [
"1",
"2"
]
}