Skip to content
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

@JsonTypeInfo Ignored #53

Open
barry1cassidy opened this issue Oct 26, 2017 · 0 comments
Open

@JsonTypeInfo Ignored #53

barry1cassidy opened this issue Oct 26, 2017 · 0 comments

Comments

@barry1cassidy
Copy link

Hi,
I want to use this library to customize the serialization of an object in a Spring application, but when I integrated it into my code, I saw that fields that I want included in my JSON that are annotated at the class level are now being omitted.

An example of how I use this annotation is as follows.

@JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, include = JsonTypeInfo.As.PROPERTY, property = "resourceType")
public class xxxClass implements Serializable { ...

Is there a fix or workaround for this problem on the horizon?

Thanks,
Barry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant