Language

CoreActivity.ReflectionJsonOptions Field

Definition

Gets the JSON serializer options used for reflection-based serialization of extended activity types.

public static readonly System.Text.Json.JsonSerializerOptions ReflectionJsonOptions;
 staticval mutable ReflectionJsonOptions : System.Text.Json.JsonSerializerOptions
Public Shared ReadOnly ReflectionJsonOptions As JsonSerializerOptions 

Field Value

Remarks

Uses reflection-based serialization to support custom activity types that extend CoreActivity. This is used when serializing/deserializing types not registered in the source-generated context, and to serialize inbound (read-model) activities by their runtime type for logging/diagnostics. Inbound activities are never serialized onto the wire; the outbound *Input types own the AOT-safe serialization path.

Applies to