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://mastodon.ml/users/vftdan/statuses/108216107449819920", "type": "Note", "summary": null, "inReplyTo": "https://mastodon.ml/users/vftdan/statuses/108194399089467983", "published": "2022-04-29T15:39:16Z", "url": "https://mastodon.ml/@vftdan/108216107449819920", "attributedTo": "https://mastodon.ml/users/vftdan", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://mastodon.ml/users/vftdan/followers" ], "sensitive": false, "atomUri": "https://mastodon.ml/users/vftdan/statuses/108216107449819920", "inReplyToAtomUri": "https://mastodon.ml/users/vftdan/statuses/108194399089467983", "conversation": "tag:mastodon.ml,2022-04-25:objectId=9134881:objectType=Conversation", "content": "<p><a href=\"https://mastodon.ml/tags/cpp\" class=\"mention hashtag\" rel=\"tag\">#<span>cpp</span></a></p><p>Another question:</p><p>How do I print float number into stream, so that:</p><p> * all non-zero digits must be printed (except those, that do not change in-memory representation of that number)<br /> * at least 1 digit before &amp; after decimal point (even zero) must be printed<br /> * scientific notation is never used<br /> * all zeros not required by the second condition must not be printed</p><p>Examples:<br />```<br />0.0<br />1.0<br />1.1<br />30000.123<br />1000000000.0<br />```</p>", "contentMap": { "en": "<p><a href=\"https://mastodon.ml/tags/cpp\" class=\"mention hashtag\" rel=\"tag\">#<span>cpp</span></a></p><p>Another question:</p><p>How do I print float number into stream, so that:</p><p> * all non-zero digits must be printed (except those, that do not change in-memory representation of that number)<br /> * at least 1 digit before &amp; after decimal point (even zero) must be printed<br /> * scientific notation is never used<br /> * all zeros not required by the second condition must not be printed</p><p>Examples:<br />```<br />0.0<br />1.0<br />1.1<br />30000.123<br />1000000000.0<br />```</p>" }, "attachment": [], "tag": [ { "type": "Hashtag", "href": "https://mastodon.ml/tags/cpp", "name": "#cpp" } ], "replies": { "id": "https://mastodon.ml/users/vftdan/statuses/108216107449819920/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://mastodon.ml/users/vftdan/statuses/108216107449819920/replies?only_other_accounts=true&page=true", "partOf": "https://mastodon.ml/users/vftdan/statuses/108216107449819920/replies", "items": [] } } }