0

I have one to many relationship with company and user. I am using @jsonignore for avoiding infinite recursion but one property is ignored during serialization. Instead of ignoring, I want that property as null in the json. How can I do that?

  • https://stackoverflow.com/questions/54180616/jackson-how-to-include-null-value-property-in-json-serialization same question is here – Shivam Feb 23 '22 at 08:08
  • Please provide enough code so others can better understand or reproduce the problem. – Community Feb 23 '22 at 08:08

0 Answers0