Skip to content

Simplify DecodeStructuredModeDataProperty and add unit test to cover code path#334

Merged
jskeet merged 1 commit into
cloudevents:mainfrom
erwinkramer:main
Apr 6, 2026
Merged

Simplify DecodeStructuredModeDataProperty and add unit test to cover code path#334
jskeet merged 1 commit into
cloudevents:mainfrom
erwinkramer:main

Conversation

@erwinkramer

@erwinkramer erwinkramer commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Closes #331.

The unit test covers that the JsonSerializerOptions, when using the JsonEventFormatter, still works properly.

…tests for serializer options

Signed-off-by: Erwin <erwinkramer@hotmail.com>

@jskeet jskeet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no memory of filing the issue, but a brief look suggests this is fine. Thanks!

@jskeet jskeet merged commit 15b8d01 into cloudevents:main Apr 6, 2026
2 checks passed
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.

Rework DecodeStructuredModeDataProperty for SystemTextJson - JsonEventFormatter

2 participants