Skip to content

A few JsonObject methods are listed as being available in .NET 8, but in reality they aren't #10501

@Bellarmine-Head

Description

@Bellarmine-Head

Type of issue

Other (describe below)

Description

[Enter feedback here]
The documentation for JsonObject methods GetAt, IndexOf, SetAt, RemoveAt, Insert say that they are available in .NET 8.

E.g. https://learn.microsoft.com/en-us/dotnet/api/system.text.json.nodes.jsonobject.indexof?view=net-8.0

This is annoying, because I looked for them in vain, and thought I was getting something wrong.

But in fact, these methods are being added in .NET 9 and are not available in any previous version.

See dotnet/runtime#102932

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.text.json.nodes.jsonobject.indexof?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Text.Json.Nodes/JsonObject.xml

Document Version Independent Id

75219c28-7f0a-b336-60ff-09fbe63729a2

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions