Jakarta JSON excludes null fields even though withNullValues is set to true
I have this code that runs on Tomee with Jakarta EE 9.1, it is supposed to generate a JSON string taking the data from inputObj. Problem is that there are fields with null values that are omitted from the resulting…