Custom format for Property names using PropertyNamingStrategy Part 2

In this post under JSONB, I will continue explaining how to create custom format for property names using PropertyNamingStrategy interface. In the post, “Custom format for Property names using PropertyNamingStrategy Part 1”, I listed the different formats provided by the interface out of the box, which are 1) CASE_INSENSITIVE 2) IDENTITY 3) LOWER_CASE_WITH_DASHES 4) LOWER_CASE_WITH_UNDERSCORES…… Continue reading Custom format for Property names using PropertyNamingStrategy Part 2

Custom format for Property names using PropertyNamingStrategy Part 1

In this post under JSONB, I will explain how to create custom format for property names using PropertyNamingStrategy interface. Whenever we serialize a java object to JSON format, the property or field names in json are same as property names in its corresponding java class. For example when we serialize the below java class instance…… Continue reading Custom format for Property names using PropertyNamingStrategy Part 1