Skip to content

Workflow SDK - Add System.Text.Json default options #1537

@tomflenner

Description

@tomflenner

Describe the feature

We would like the ability to configure default System.Text.Json options in the Dapr .NET SDK, such as custom JsonConverters for example.

This feature would enable developers to apply default STJ configuration behavior.

It could be implemented by exposing a way to register global JsonSerializerOptions, or at least a hook to customize or extend the default behavior.

Use case examples:

  • Add a default JsonConverter for polymorphic deserialization.

This is particularly useful for applications that already use System.Text.Json and want Dapr SDK to align with their existing serialization logic.

Release Note

RELEASE NOTE: ADD Support for configuring default System.Text.Json options (e.g., converters, naming policy) in the Dapr .NET SDK.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions