Skip to content

Conversation

@pierDipi
Copy link
Member

In getOptionalStringNode we should handle JsonNodes that are
instances of NullNode.

Fixes #430

…izer

In `getOptionalStringNode` we should handle `JsonNode`s that are
instances of `NullNode`.

Signed-off-by: Pierangelo Di Pilato <[email protected]>
@pierDipi pierDipi added this to the 2.3 milestone Dec 21, 2021
Signed-off-by: Pierangelo Di Pilato <[email protected]>
@pierDipi pierDipi merged commit cc78625 into cloudevents:master Dec 21, 2021
@pierDipi pierDipi deleted the SDKJAVA-430_Handle-NullNode branch December 21, 2021 10:22
pierDipi added a commit to pierDipi/sdk-java that referenced this pull request Dec 21, 2021
…izer (cloudevents#432)

In `getOptionalStringNode` we should handle `JsonNode`s that are
instances of `NullNode`.

Signed-off-by: Pierangelo Di Pilato <[email protected]>
@pierDipi
Copy link
Member Author

Cherry pick for 2.2.1-SNAPSHOT: #433

pierDipi added a commit that referenced this pull request Dec 21, 2021
…izer (#432) (#433)

In `getOptionalStringNode` we should handle `JsonNode`s that are
instances of `NullNode`.

Signed-off-by: Pierangelo Di Pilato <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deserialization fails when subject is null

2 participants