Skip to the content Skip to the Navigation

Wilddiary.com

  • Home
  • Contact Us
  • Privacy

Jackson

  1. HOME
  2. Jackson
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 […]

Java logo
September 25, 2014 / Last updated : April 22, 2023 Drona Java

Serialize Java object to JSON and back

There are many libraries in Java that support serialization of Java objects to JSON and back. Below are few of them.

  • 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