ActivityPub Viewer

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.

Open in browser →
{ "@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", "Hashtag": "as:Hashtag" } ], "id": "https://chaos.social/users/uliwitness/statuses/114699171427671714", "type": "Note", "summary": null, "inReplyTo": null, "published": "2025-06-17T14:27:42Z", "url": "https://chaos.social/@uliwitness/114699171427671714", "attributedTo": "https://chaos.social/users/uliwitness", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://chaos.social/users/uliwitness/followers" ], "sensitive": false, "atomUri": "https://chaos.social/users/uliwitness/statuses/114699171427671714", "inReplyToAtomUri": null, "conversation": "tag:chaos.social,2025-06-17:objectId=279841279:objectType=Conversation", "content": "<p>Say, is there a trick in C++ to make to_string() work for any type?</p><p>If I have</p><p>using namespace std;</p><p>and then just write</p><p>to_string(foo)</p><p>it will prefer my local namespace&#39;s to_string(MyClass) and error when given an int, instead of picking std::to_string(int) for those.</p><p>Do I really have to add all variants of</p><p>inline string to_string(int n) { return std::to_string(n); }</p><p>to my namespace to be able to just say to_string(foo) for any type and make it work?</p><p><a href=\"https://chaos.social/tags/CPlusPlus\" class=\"mention hashtag\" rel=\"tag\">#<span>CPlusPlus</span></a> <a href=\"https://chaos.social/tags/CPP\" class=\"mention hashtag\" rel=\"tag\">#<span>CPP</span></a> <a href=\"https://chaos.social/tags/CXX\" class=\"mention hashtag\" rel=\"tag\">#<span>CXX</span></a> <a href=\"https://chaos.social/tags/programming\" class=\"mention hashtag\" rel=\"tag\">#<span>programming</span></a></p>", "contentMap": { "en": "<p>Say, is there a trick in C++ to make to_string() work for any type?</p><p>If I have</p><p>using namespace std;</p><p>and then just write</p><p>to_string(foo)</p><p>it will prefer my local namespace&#39;s to_string(MyClass) and error when given an int, instead of picking std::to_string(int) for those.</p><p>Do I really have to add all variants of</p><p>inline string to_string(int n) { return std::to_string(n); }</p><p>to my namespace to be able to just say to_string(foo) for any type and make it work?</p><p><a href=\"https://chaos.social/tags/CPlusPlus\" class=\"mention hashtag\" rel=\"tag\">#<span>CPlusPlus</span></a> <a href=\"https://chaos.social/tags/CPP\" class=\"mention hashtag\" rel=\"tag\">#<span>CPP</span></a> <a href=\"https://chaos.social/tags/CXX\" class=\"mention hashtag\" rel=\"tag\">#<span>CXX</span></a> <a href=\"https://chaos.social/tags/programming\" class=\"mention hashtag\" rel=\"tag\">#<span>programming</span></a></p>" }, "updated": "2025-06-17T14:30:15Z", "attachment": [], "tag": [ { "type": "Hashtag", "href": "https://chaos.social/tags/cplusplus", "name": "#cplusplus" }, { "type": "Hashtag", "href": "https://chaos.social/tags/cpp", "name": "#cpp" }, { "type": "Hashtag", "href": "https://chaos.social/tags/cxx", "name": "#cxx" }, { "type": "Hashtag", "href": "https://chaos.social/tags/programming", "name": "#programming" } ], "replies": { "id": "https://chaos.social/users/uliwitness/statuses/114699171427671714/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://chaos.social/users/uliwitness/statuses/114699171427671714/replies?only_other_accounts=true&page=true", "partOf": "https://chaos.social/users/uliwitness/statuses/114699171427671714/replies", "items": [] } }, "likes": { "id": "https://chaos.social/users/uliwitness/statuses/114699171427671714/likes", "type": "Collection", "totalItems": 1 }, "shares": { "id": "https://chaos.social/users/uliwitness/statuses/114699171427671714/shares", "type": "Collection", "totalItems": 2 } }