We plan to implement #JSON output in our #DNS investigation tool dnsi. There is informational RFC 8427 for representing DNS messages in JSON, but we’d like to see if there is a more ergonomic way of representing such a format. We'd love to hear about your use cases and wishes. https://github.com/NLnetLabs/dnsi/issues/12
We've just published a series of 17 (!) posts on common patterns in JSON Schema; lots of these have been culled from questions asked in the JSON-Schema Slack channel.
They are written from the perspective of .NET developers who are used to JSON serialization as a code-first exercise, and want to migrate towards schema-first (with generated code examples from Corvus.JsonSchema).
Wer ihre/seine #Mastodon-Lesezeichen über ein Script herunterladen und in #RSS, #XML, #JSON oder #CSV umwandeln will - ich hab gestern Abend mal was gebastelt.
Geddit
An open-source, Reddit client for Android without using their API
Geddit is an impressive open-source Reddit client for Android. It uses RSS/JSON feeds to display content, avoiding Reddit API limitations and ensuring a smooth experience. With geddit, you can browse reddit anonymously without the need for an account!
If you're implementing DNS-over-HTTP JSON client and wondering what Accept header media type to use… 👀
There's RFC8427, "Representing DNS Messages in JSON"; it defines the JSON structure. You can ignore it. No DoH JSON API provider I tested implements it.
It also defines the application/dns+json media type, registered with IANA. You can ignore it as well. Only CloudFlare cares about the media type — and insists on application/dns-json (yes, with a "-"). 🙄
This has been a long dream of mine, since I added JSON support in #fs2-data. And it has never been so close to become true: the PR adding support for #JSON queries (think #jq) is ready! It allows for declarative streaming extraction and transformation of JSON data, emitting data as soon as some piece of output has been built, discarding input that has been consumed, on the go. I must admit, that I am super proud of this one! https://github.com/gnieh/fs2-data/pull/426
The original is probably safe, but I never feel comfortable pasting sensitive #JSON data to an online webpage, so I made this to be sure. Also very handy to have locally in the browser I think.
For the JSON-LD experts out there... does the Compaction algorithm ever produce a document with a null property value in the document body? I know that a null-valued property is treated as if it doesn't exist, but I can't identify the step in the Compaction algo where they are removed (given a null in the pre-compacted document). JSON-LD Playground removes the nulls, but I don't know if this is the normative behavior for all processors or not. #json-ld #activitypub
I highly recommend BitWarden as a password manager. It is free, open source, and has a great range of apps and APIs. The one thing it doesn't have is a way to sort your accounts by creation date. I now have over a thousand accounts that I've added - so I wanted to prune away […]
"JSON Patch is a format for describing changes to a #JSON document. It can be used to avoid sending a whole document when only a part has changed. When used in combination with the #HTTP PATCH method, it allows partial updates for HTTP #APIs in a standards compliant way."
I post a lot of sample code on this blog. My CodePen is full of little snippets of this and that. Quite often, these snippets need data to do something useful. A good example of that is my Lit example from this past week. Coming up with that data can be complicated, though. That is why I created a site for assorted test data. If you want to have a little rummage through it, I also made the git repository public for the site. While I was at it, I also put it behind a Cloudflare proxy to speed it up a little.
Have any questions, comments, etc? Please feel free to drop a comment below.
I wasn't aware until now, that jq is actually a full blown functional programming language. Originally it was inspired by Haskell and the very first version(s) of jq were actually implemented in Haskell. Only later jq got ported over to C. To have an idea how powerfull the jq language is, there is also a jq implementation purely written in jq: https://github.com/wader/jqjq#jq#json
TIL about the #WordPress Block Data API - used for retrieving block editor posts structured as #JSON data, with integrations for both the official WordPress REST API and #WPGraphQL.
Primarily designed for use in decoupled WordPress.
After the release of JSON Canvas, I was curious how people handle whiteboarding and graphical notes in Obsidian. Personally, I only use Excalidraw because I was already a user of its web version and because of its support for md and iframes, although I don't like how it handles embedded notes, everything else is easily corrected...
Do you use Excalidraw, Canvas, both or neither?
After the release of JSON Canvas, I was curious how people handle whiteboarding and graphical notes in Obsidian. Personally, I only use Excalidraw because I was already a user of its web version and because of its support for md and iframes, although I don't like how it handles embedded notes, everything else is easily corrected...