nitrite-java
nitrite-java copied to clipboard
Revamp encoding-decoding with KotlinXSerializationMapper
The previous implementation of Document Encoding was missing Polymorphism support for maps and lists, on top of that there were many corner cases not handled. Given the similarity between JSON and Documents, it makes sense to leverage on KotlinxJsonSerialization implementation and convert JsonObjects to Documents. This allows having the same degree of freedom as JsonSerialization