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 #gson as the principle example.
Toy #ActivityPub 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. #Kotlin serialization for specific objects.
2. Specific #protobuf objects.
3. Generic #Gson annotated POJOs that are allowlisted.
Oh, and I started just calling it by "#LcCircle" 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