Azure / Azure/azure-functions-host

Change default json serialization behavior in 2.0 to match 1.0

Open
#1,805 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

In 1.0, a property `FooBar` is serialized to `FooBar` in json. In the .NET Core port, it is serialized to `fooBar`. We should change the default to match 1.0.

@fabiocav says this is probably because ASP.NET has different default serialization settings.

Contributor guide

Open the contributing guide

Research direction

No file or test is identified. Start by tracing the .NET Core port's default JSON serialization settings and comparing them with the ASP.NET defaults mentioned in the issue. Confirm the expected FooBar casing against 1.0 and add coverage for the default behavior; done means the port serializes properties with the legacy casing by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.