Skip to content

[Question] Interop between JsonNode and JsonElement #70427

@gregsdennis

Description

@gregsdennis

The documentation states in the first sentence that there is a constructor in JsonNode derivations that take JsonElement in order to convert between them. However, looking at hte API docs, I see no such constructor.

Was this missed? What is the recommended way to convert from JsonElement to JsonNode?

Related to #52611

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-suggestionEarly API idea and discussion, it is NOT ready for implementationarea-System.Text.JsonwishlistIssue we would like to prioritize, but we can't commit we will get to it yet

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions