What a difference a good library makes. Trying to parse fediverse note jsons and everything library I tried barfed.

I was in the process of writing my own cludgy parser and stumbled upon https://github.com/KinaKnowledge/json-lib via a blog post, it works fine and turns the json into a hash table ๐Ÿ™‚


0

If you have a fediverse account, you can quote this note from your own instance. Search https://swarm.coiloptic.org/brettm/p/1771722186.552897 on your instance and quote it. (Note that quoting is not supported in Mastodon.)