Struct ProtoJsonProperty

Namespace
ProtoTest.Json
Assembly
ProtoTest.Json.dll

One wire-shaped member of a CLR object: the name JSON uses, the declared type and the value.

public readonly record struct ProtoJsonProperty : IEquatable<ProtoJsonProperty>
Implements
Inherited Members
Extension Methods

Constructors

ProtoJsonProperty(string, Type, object?)

One wire-shaped member of a CLR object: the name JSON uses, the declared type and the value.

public ProtoJsonProperty(string Name, Type Type, object? Value)

Parameters

Name string
Type Type
Value object

Properties

Name

public string Name { get; init; }

Property Value

string

Type

public Type Type { get; init; }

Property Value

Type

Value

public object? Value { get; init; }

Property Value

object