Post B4OrighDXIXA87Mu1Y by julian@activitypub.space
 (DIR) More posts by julian@activitypub.space
 (DIR) Post #B4OkXroPASK9jzcino by brettm@swarm.coiloptic.org
       0 likes, 0 repeats
       
       So I am using Scheme's Medea library to parse ActivityPub posts. It can process Mastodon and Snac just fine. But does not like some others, eg Iceshrimp.I guess I will write a function to re-format the Iceshrimp json-ld so Medea likes it ... anyone know of examples or blog posts that have discussed this? To save me staring at the dreaded json-ld for so long...Other Scheme libraries have the same problem with Iceshrimp posts. IDK if they may also have some issues with Misskey, Sharkey, Honk, etc etc, haven't got around to testing those yet.#ActivityPub
       
 (DIR) Post #B4OpdDDvUEbJMmvfRQ by julian@activitypub.space
       0 likes, 0 repeats
       
       @brettm@swarm.coiloptic.org yes! Ask @hongminhee@hollo.socialI'm guessing Medea is a JSON-LD processor?Min hee has been working on some of these workarounds 😝
       
 (DIR) Post #B4OpdDOYqh6jtluA1A by brettm@swarm.coiloptic.org
       0 likes, 0 repeats
       
       Medea is just JSON not JSON-LD but it seems to process some JSON-LD just fine, eg Snac and Mastodon-generated stuff. Looking at Iceshrimp and they seem to throw in a lot of extra cruft:[] all over the place,escaped double quotes,a bunch of litepub and misskey stuffeeerp many JSON parses take one look and say "I ain't reading all that" 🙂CC: @hongminhee@hollo.social
       
 (DIR) Post #B4OrighDXIXA87Mu1Y by julian@activitypub.space
       0 likes, 0 repeats
       
       Also if it's scheme, maybe @cwebber@social.coop?@brettm@swarm.coiloptic.org
       
 (DIR) Post #B4OrigyEW292ytKUXw by brettm@swarm.coiloptic.org
       0 likes, 0 repeats
       
       @julian@activitypub.space @cwebber@social.coop its not scheme-specific, other lang's json parsers have the same issue.(afaik scheme does not have any json-ld parser, its way too obscure a format lol)