Skip to content
Discussion options

You must be logged in to vote

To configure the JSON serializer options used by MassTransit, use the code below. MassTransit has its own options, which aren't affected by whatever that configuration above does.

cfg.ConfigureJsonSerializerOptions(options => 
{
    options.PropertyNameCaseInsensitive = false;

    return options;
});

Oh, and this is within the UsingRabbitMq((context, cfg) => or whatever transport you're using.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shawnallen85
Comment options

Answer selected by shawnallen85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants