A small tool to view real-world ActivityPub objects as JSON! Enter a URL
or username from Mastodon or a similar service below, and we'll send a
request with
the right
Accept
header
to the server to view the underlying object.
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"ostatus": "http://ostatus.org#",
"atomUri": "ostatus:atomUri",
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
"conversation": "ostatus:conversation",
"sensitive": "as:sensitive",
"toot": "http://joinmastodon.org/ns#",
"votersCount": "toot:votersCount"
}
],
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266482291129993",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467597997024",
"published": "2023-04-26T18:16:33Z",
"url": "https://mastodon.gamedev.place/@gfxstrand/110266482291129993",
"attributedTo": "https://mastodon.gamedev.place/users/gfxstrand",
"to": [
"https://mastodon.gamedev.place/users/gfxstrand/followers"
],
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"sensitive": false,
"atomUri": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266482291129993",
"inReplyToAtomUri": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467597997024",
"conversation": "tag:mastodon.gamedev.place,2023-04-26:objectId=36074109:objectType=Conversation",
"content": "<p>How would I do this if I were writing the compiler in C or C++? One option would be to do basically the same thing with a custom MOC, written in python. This could work well but python code which parses C headers is always sketchy.</p><p>Another option would be to go the NIR route and define a giant table somewhere, maybe using python, maybe not, and assert everywhere that things match.</p><p>The third option would be to make it dynamic data, assert everywhere, and hope no one puts a double into IAdd3.</p>",
"contentMap": {
"en": "<p>How would I do this if I were writing the compiler in C or C++? One option would be to do basically the same thing with a custom MOC, written in python. This could work well but python code which parses C headers is always sketchy.</p><p>Another option would be to go the NIR route and define a giant table somewhere, maybe using python, maybe not, and assert everywhere that things match.</p><p>The third option would be to make it dynamic data, assert everywhere, and hope no one puts a double into IAdd3.</p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266482291129993/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266482291129993/replies?min_id=110266487983821149&page=true",
"partOf": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266482291129993/replies",
"items": [
"https://mastodon.gamedev.place/users/gfxstrand/statuses/110266487983821149"
]
}
},
"likes": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266482291129993/likes",
"type": "Collection",
"totalItems": 5
},
"shares": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266482291129993/shares",
"type": "Collection",
"totalItems": 0
}
}