Class JsonUnmentionedField

Namespace
ProtoTest.Json
Assembly
ProtoTest.Json.dll

One field that arrived in the actual JSON but that no mentioned path covers: its JSON path and its value. An unmentioned branch reports its shallowest path once, not every leaf below it.

public sealed record JsonUnmentionedField : IEquatable<JsonUnmentionedField>
Inheritance
JsonUnmentionedField
Implements
Inherited Members
Extension Methods

Constructors

JsonUnmentionedField(string, object?)

One field that arrived in the actual JSON but that no mentioned path covers: its JSON path and its value. An unmentioned branch reports its shallowest path once, not every leaf below it.

public JsonUnmentionedField(string PropertyPath, object? Value)

Parameters

PropertyPath string
Value object

Properties

PropertyPath

public string PropertyPath { get; init; }

Property Value

string

Value

public object? Value { get; init; }

Property Value

object