OData / OData/AspNetCoreOData

How to add custom JSON converters?

Open
#222 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

investigated question
Dominant language
C#
Stars
505
Forks
186
PR merge metrics
No merged PRs in 30d

Description

Hi,

I see there is a new package for adding Netwonsoft JSON so I'm guessing there are available extensibility points for controlling the JSON serialization.

We are using System.Text.Json, but would like to customise how certain entities are serialized/deserialized. The OData library appears to ignore the normal ASP.NET Core MVC JSON settings, so is there some other way of doing this?

many thanks,

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by tracing how ASP.NET Core OData selects JSON serialization and whether it reads MVC's System.Text.Json settings; done means identifying a supported extensibility point or documenting that none exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.