Open Closed

Configure default JsonSerializerOptions #2538


User avatar
0
hakan.uskaner created
  • ABP Framework version: v5.1.3

  • UI type: Blazor Server

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

In my Application Module i would like to configure the JsonIgnoreCondition. I did take a look at https://docs.abp.io/en/abp/latest/JSON
I used AbpSystemTextJsonSerializerOptions, what did not work as expected.

I use this code in my Application Module:
image.png

I am not sure this is a bug or i am missing something ? I would expect after reading the documentation that the first way should work.

I had some trouble here to paste the code from above. all strings between the square brackets are deleted :
image.png
this becomes: options.AddMaps(), (a bug here in the editor ?)


1 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 21, 2025, 13:37