This milestone adds an asynchronous version of the toJSONObject method, which has the signature: toJSONObject(Reader reader, CallbackFunc func, Consumer exceptionConsumer) Where the callback function ...
data class PersonInDB( @JsonProperty("_id") var _id: String? = null, @JsonProperty("value")var value: org.bson.json.JsonObject, ) but when trying to insert a document ...