Simple Solution
  • Java
  • Spring
  • Spring Boot
  • Tutorials
  • Tags
Java Gson enable Serialize null fields
Java Gson enable Serialize null fields

In this Java Gson tutorial we learn how to configure Gson to enable serializing null fields during serialization JSON. Via step by step tutorial we will show you how to use the GsonBuilder.serializeNulls() method to configure Gson to serialize null fields.

Copyright © 2019 SimpleSolution.dev. All Rights Reserved.