Class ProtoJsonDefaults

Namespace
ProtoTest.Json
Assembly
ProtoTest.Json.dll

Shared serializer defaults, so every protocol reads and writes JSON the same way. Options freeze on first use; nothing in the framework mutates these instances.

public static class ProtoJsonDefaults
Inheritance
ProtoJsonDefaults
Inherited Members

Properties

Reader

Reads a response: property names match case-insensitively, no naming policy is applied.

public static JsonSerializerOptions Reader { get; }

Property Value

JsonSerializerOptions

Web

Reads and writes request payloads: web defaults, so camelCase names and case-insensitive reads.

public static JsonSerializerOptions Web { get; }

Property Value

JsonSerializerOptions