Skip to the content Skip to the Navigation

Wilddiary.com

  • Home
  • Contact Us
  • Privacy

March 2015

  1. HOME
  2. March 2015
Java logo
March 2, 2015 / Last updated : April 22, 2023 Drona Java

Jackson: Ignore null and empty fields

This article discusses options to ignore null and empty fields during serialization to JSON using Jackson 2.x. By default, Jackson 2.x includes null and empty object fields while serializing to JSON. Sometimes, it is desirable to ignore such fields. You can do that by following any of the following two options: Annotate the class or the fields with […]

  • Home
  • Contact Us
  • Privacy
  • Facebook
  • Twitter
  • RSS Feed
  • GitHub
  • Pinterest

Copyright © Wilddiary.com All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.

MENU
  • Home
  • Contact Us
  • Privacy