Logo JDeck

JDeck.MessagePack a Nerdbank.MessagePack wrapper

JDeck.MessagePack is a Thoth.Json-like MessagePack decoder based on Nerdbank.MessagePack. The API mirrors JDeck for JSON: automatic decoding for plain records through PolyType shapes, manual Decoder<'T> values over MessagePackValue for unions and irregular payloads, and Encoder<'T> values plus a Codec bridge for the automatic path.

MessagePack is a binary format, so payloads are byte array values, not strings. There is no fromString.

Usage

open JDeck.MessagePack

let value = Encode.entryMap [ "name", Encode.string "Alice"; "age", Encode.int 30 ]

let nameResult = Required.Map.get ("name", Required.string) value

Guides:

val value: obj
val nameResult: obj

Type something to start searching.