Hrefna (DHC) · @hrefna
409 followers · 1412 posts · Server hachyderm.io

But I also wanted to see if I could do something a touch more generic.

Specifically: I wanted to make registering types trivial because it would make prototyping easy, I wanted the ability to register those types from the bootstrap framework to limit setup costs and runtime weirdness, and I wanted it to be a little more pluggable.

So I implemented a generic capability with as the principle example.

#gson

Last updated 3 years ago

Hrefna (DHC) · @hrefna
409 followers · 1404 posts · Server hachyderm.io

Toy project progress:

I have the serializers for objects mostly done. I went a lot overboard there and now have the wiring in place for:

1. serialization for specific objects.
2. Specific objects.
3. Generic annotated POJOs that are allowlisted.

Oh, and I started just calling it by "" because I am not creative, naming is hard, and I am probably never publishing it anyways (and if I do then the "LC" will be relevant; where if I don't then eh).

#activitypub #kotlin #protobuf #gson #lccircle

Last updated 3 years ago