Open Closed

JsonProperty names are not applied when consuming AppServices #1598


0
cbogner85 created
  • ABP Framework version: v4.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hello,

when I consume an AppService via REST, JsonProperty names are not applied. It always returns C# name in camelCase. I found the following issues, stating that it should have been fixed in 4.3: GitHub abp Support

However, the phenomenon still exists in 4.3.3:

Also tried to create a new test project with abp suite in 4.3.3, same result:

What am I missing?

Thanks an best regards Claus


2 Answer(s)
  • 0
    liangshiwei created
    Support Team

    Hi,

    You can try use JsonPropertyNameAttribute

  • 0
    cbogner85 created

    Thank you liangshiwei,

    it works!

    Best regards Claus