// Copyright (c) Microsoft. All rights reserved.
using System.Text.Json;
namespace Microsoft.Agents.AI.DurableTask.Workflows;
///
/// Shared serialization options for user-defined workflow types that are not known at compile time
/// and therefore cannot use the source-generated .
///
internal static class DurableSerialization
{
///
/// Gets the shared for workflow serialization
/// with camelCase naming and case-insensitive deserialization.
///
internal static JsonSerializerOptions Options { get; } = new()
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
PropertyNameCaseInsensitive = true
};
}