-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jackson is not able to read json ChartOptions #179
Comments
How does the JSON string looks like ? The two setters are:
It is interesting what is the type of the parameter Jackson constructed: |
That parameter was not specified the same happens with Options object and setColor. |
Please paste the JSON string that use have used. |
Here is an example
The json object
|
Much better example case, Im generating an options object, then Im serializing it into json string and then I'm trying to read it, It also fails.
|
Hi everybody My use case is as well let customers define a chart by providing the json and i am facing the exact same issue. Even writing to and then reading again the same json is not working as described by silvestrelosada 's last comment. Do you find any solution yet? |
Trying to read ChartOptions from json string. ChartOptions has same method name for backgroundCollor and it is causing issues.
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Conflicting setter definitions for property "backgroundColor":
The text was updated successfully, but these errors were encountered: