I would like to serialize a HashMap as a string through the Jackson JSON processor. For example:
String strMap = getMapper().writeValueAsString(myHashMap); r
Here is the latest annotation for ignoring the NULL fields
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)