Skip to content

JsonNode vs JsonDocument #182

Description

@Odraio

I noticed that the InstanceValidator class operates on JsonNode. Is there a particular architectural or functional reason for choosing JsonNode over JsonDocument?

My current implementation (C# app - .NET 10) uses JsonDocument due to EF Core’s native support. Converting between JsonDocument and JsonNode is relatively expensive and has a measurable impact on performance.

Would you consider adding native support for JsonDocument to avoid these conversions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions