Skip to content

[BUG] [java] incompatible types: double cannot be converted to java.math.BigDecimal #4612

@andreluizf

Description

@andreluizf

hello i'm using version 4.2.1

my json is in the following format

Captura de tela de 2019-11-26 11-29-36

and the generated code looks like this

Captura de tela de 2019-11-26 11-26-18

this was an error at compile time because you can parse it year.

'incompatible types: double cannot be converted to java.math.BigDecimal'

Is there any way around this problem?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions