dotnet / dotnet/dotnet-api-docs

Missing doc for JsonSerializer.DeserializeAsync returns

オープン
#9,801 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area-System.Text.Json Pri3
主要言語
C#
スター
950
フォーク
1.7k
平均マージ
2日 19時間
マージ済み PR(30日)
52

説明

Hi,
In the generic methods, the return type is nullable, but there is no documentation on how it is possible. Is it possible?

Also, it is minor, but the sections `Exceptions` aren't formatted the same way in the 5 methods: exceptions aren't in the same order and the JsonException have 2 different look.

Article: https://learn.microsoft.com/dotnet/api/system.text.json.jsonserializer.deserializeasync?view=net-8.0

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンク先の JsonSerializer.DeserializeAsync API 記事から始め、5 つのジェネリックメソッドのエントリを比較します。それぞれの戻り値と例外のセクションを確認し、nullable の戻り値の動作を説明するとともに、5 つすべてのメソッドで例外の順序と JsonException のフォーマットが一貫するようにドキュメントを更新します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。