ULong Jackson (de)serializer
I have an endpoint that receives an DTO into the body.
The DTO has a ULong attribute that the Jackson do not parse (deserialize) when I request the
endpoint with postman.
Also, I try to create my custom serializer?
class ULongSerializer: StdSerializer{
override fun serializer(value: ULong, gen: JsonGenarator, provader: SerializerProvider){
gen.writeStartObject()
gen.writeNumber(value) //HERE IS THE PROBLEM
gen.writeEndObject
}
}
neither write number method do not...