Table of Contents

Class MetadataCodecs

Namespace
Shard.Codecs
Assembly
Shard.Codecs.dll

Provides the direct JSON and BSON programs for immutable application metadata.

public static class MetadataCodecs
Inheritance
MetadataCodecs
Inherited Members

Properties

Document

Provides the metadata codec for callers that use both wire formats.

public static Codec<MetadataDocument> Document { get; }

Property Value

Codec<MetadataDocument>

DocumentBson

Reads and writes metadata as BSON without initializing the JSON endpoint.

public static BsonEndec<MetadataDocument> DocumentBson { get; }

Property Value

BsonEndec<MetadataDocument>

DocumentJson

Reads metadata as JSON without initializing the BSON endpoint.

public static JsonDecoder<MetadataDocument> DocumentJson { get; }

Property Value

JsonDecoder<MetadataDocument>

DocumentValidation

Validates metadata shared by both wire formats.

public static CodecValidate<MetadataDocument> DocumentValidation { get; }

Property Value

CodecValidate<MetadataDocument>