Search before asking

  • [x] I searched in the issues and found nothing similar.

Describe the bug

ObjectNode node = ...; node.put("a", "1"); node.putNull("b"); mapper.write..String(node);

i want this

{ "a": "1" }

but got

{ "a": "1", "b": null }

Version Information

No response

Reproduction

<-- Any of the following 1. Brief code sample/snippet: include here in preformatted/code section 2. Longer example stored somewhere else (diff repo, snippet), add a link 3. Textual explanation: include here -->

// Your code here

Expected behavior

No response

Additional context

No response

Comment From: JooHyukKim

Try searching around? There seems to be one related.