dotnet / dotnet/dotnet-api-docs
Missing doc for JsonSerializer.DeserializeAsync returns
- Lenguaje dominante
- C#
- Estrellas
- 949
- Forks
- 1.7k
- Merge medio
- 2 d 19 h
- PR fusionados (30 d)
- 52
Descripción
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
Guía de contribución
Línea de trabajo
Comienza con el artículo de la API enlazado sobre JsonSerializer.DeserializeAsync y compara las cinco entradas de métodos genéricos. Revisa sus secciones sobre el valor de retorno y las excepciones, y después actualiza la documentación para explicar el comportamiento de retorno nullable y hacer coherentes el orden de las excepciones y el formato de JsonException en los cinco métodos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- documentation
- Tipo de issue
- Documentación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100