Tatu Saloranta

Results 3333 comments of Tatu Saloranta

Oh. I suspect JDK uses fast method: byte[] bytes = StringLatin1.encode(chars, 0, chars.length); to handle conversion.

I think the big question is backwards compatibility: given many developers set global inclusion defaults, making Collections follow `@JsonInclude` could cause significant breakages. So there probably needs to be `MapperFeature`...

The problem here is, I think, that Constructor detection is using legacy single-arg constructor discovery as no `@JsonCreator` annotation is used. This only works for a small set of types,...

Oh. Also: auto-detection of that 1-arg Constructor does not (and is not supposed to) work because: 1. Constructor parameter names only available if ParameterNamesModule registered. Test does not show it...

What would be the benefit here? We do not want to add more 3rd party dependencies, so I don't think this is something we should do.

`jackson-dataformat-protobuf` is for streaming (incremental) encoding/decoding of protobuf-encoded data so bit different. This sounds like an idea for an optional "jackson-datatype-xxx" module that helps Jackson work with 3rd party value...

Labeling as "gen-ai" since I think agentic coding tools could probably create test case from this, to reproduce (if still problem), possibly suggest out the problem (and maybe even patch...

Jackson Avro module only support versions up to 1.11.4 but we cannot use 1.12.0; issue #514 is for upgrade which requires fixes to Apache avro-lib and new release (1.12.1?). You...

I don't know much about version differences in Avro lib; list: https://avro.apache.org/blog/2024/08/05/avro-1.12.0/ is kind of long.

Thank you @alzimmermsft this does look like a regression to me. **EDIT**: let me re-read -- not sure what should occur. It is confusing example.