Header menu logo CodecMapper

CodecMapper.Bridge Namespace

Type/Module Description

BridgeOptions (Module)

Common bridge option presets.

BridgeOptions (Type)

Options for schema import from annotated CLR models.

CSharpSchema

C#-friendly entry points for schema authoring and codec compilation. The canonical authoring style remains the F# `Schema` DSL. This wrapper is for the cases where writing that schema directly from C# is preferable to bridge import or future code generation.

DataContracts

Imports schemas from `[DataContract]` / `[DataMember]` CLR types. This is the strictest import path: when `[DataContract]` is present, only `[DataMember]` properties are considered part of the wire contract.

NamingPolicy

Controls how CLR member names map to wire names when no explicit serializer attribute overrides the property name.

NewtonsoftJson

Imports schemas from `Newtonsoft.Json`-annotated CLR types.

SetterRecordBuilder<'T>

Mutable fluent builder for authoring setter-bound schemas from C#. This is intentionally a thin wrapper over the existing `SchemaDefinition` model rather than a second schema system. It is best suited to new parameterless C# classes with settable properties.

SystemTextJson

Imports schemas from `System.Text.Json`-annotated CLR types. Supported metadata today is intentionally narrow: rename, ignore, required, and constructor binding. Unsupported serializer-specific features fail explicitly during import.

Type something to start searching.