Delete comment from: Java67
javin paul said...
You can try same method, when you convert your object to JSON String then you will not see the price in generated String. Let me know if you face any issue or error
Dec 3, 2023, 12:09:02 PM
Posted to 3 ways to ignore null fields while converting Java object to JSON using Jackson? Example

