News for hackers. Stuff that matters.
Re:Show HN: Squirrelbyte – a SQLite-based JSON document server by ytjohn on Sunday April 11, 2021 @10:29AM (#26770581)
I think this is great. And on a tangent, a few months ago I was searching "everywhere" to find a somewhat standard rest api query format. There's odata, but that was way too heavy.

I don't know how popular jsonlogic itself really is, but it definitely seems like a good fit for queries.

https://jsonlogic.com/

Re:Show HN: Squirrelbyte – a SQLite-based JSON document server by adamlouis on Sunday April 11, 2021 @12:36PM (#26771572)
Thanks!

Yeah, jsonlogic does not seem THAT popular. A JSON-based solution that looks like an AST means you can skip query parsing & just do generation. I started this project with my own JSON Lisp DSL before going with jsonlogic.

In either case, I like the idea of being able to swap out arbitrary storage layers - sqlite, postgres, mongo, etc. - while keeping the JSON api.

Had not encountered odata - thanks for sharing!