Skip to content

Not Deserializing Snake Case Properties when used in Jenkins Plugin #794

@krische

Description

@krische

I am using this library in a Jenkins plugin, and I am noticing some strange behavior.

After updating some other plugins to their newest versions (jackson2-api to 2.13.1 and jersey2-api to 2.35), I noticed that this library no longer deserializes correctly. Any model property that uses snake_case in it's JSON does not get deserialized to the camelCase Java object properties. Those Java object properties just have null values. The properties that match exactly between JSON and Java (e.g. description) seem to work perfectly fine.

I have no idea in the slightest as to what is going on. Is it something to do with this library and having newer versions of jersey in the classpath? Or maybe am I just missing some dependency?

Any guidance would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions