codec/

directory
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: MIT

Directories

Path Synopsis
Package asn1 wraps encoding/asn1 as a codec.Codec implementation.
Package asn1 wraps encoding/asn1 as a codec.Codec implementation.
Package baseenc — Base45 (RFC 9285) alphabet codec.
Package baseenc — Base45 (RFC 9285) alphabet codec.
Package bson is the BSON codec: a native implementation of the BSON 1.1 specification (bsonspec.org) behind the universal core/data/codec.Codec dispatch, written with the standard library alone.
Package bson is the BSON codec: a native implementation of the BSON 1.1 specification (bsonspec.org) behind the universal core/data/codec.Codec dispatch, written with the standard library alone.
Package cbor is the SDK's CBOR codec (RFC 8949), written on the standard library alone.
Package cbor is the SDK's CBOR codec (RFC 8949), written on the standard library alone.
Package csv wraps encoding/csv as a codec.Codec implementation.
Package csv wraps encoding/csv as a codec.Codec implementation.
Package flatbuffers implements a thin passthrough codec for already-encoded FlatBuffer payloads.
Package flatbuffers implements a thin passthrough codec for already-encoded FlatBuffer payloads.
Package form implements application/x-www-form-urlencoded as a codec.Codec — the encoding every HTML form POSTs and every query string carries.
Package form implements application/x-www-form-urlencoded as a codec.Codec — the encoding every HTML form POSTs and every query string carries.
Package json wraps encoding/json as a codec.Codec implementation registered under Format("json").
Package json wraps encoding/json as a codec.Codec implementation registered under Format("json").
Package jsonpatch computes the structural difference between two JSON documents as RFC 6902 operations — add, remove and replace, each at an RFC 6901 JSON Pointer — with the value each operation writes AND the value it replaces or removes (ADR 0143).
Package jsonpatch computes the structural difference between two JSON documents as RFC 6902 operations — add, remove and replace, each at an RFC 6901 JSON Pointer — with the value each operation writes AND the value it replaces or removes (ADR 0143).
Package jsonshape — the members encoding/json writes for a struct, resolved by its own rules: json/v2's field walk under the v1 options Go 1.27's encoding/json runs with.
Package jsonshape — the members encoding/json writes for a struct, resolved by its own rules: json/v2's field walk under the v1 options Go 1.27's encoding/json runs with.
Package msgpack is the MessagePack codec — a native implementation of the specification (github.com/msgpack/msgpack/blob/master/spec.md) on the standard library alone, registered as the "msgpack" Format.
Package msgpack is the MessagePack codec — a native implementation of the specification (github.com/msgpack/msgpack/blob/master/spec.md) on the standard library alone, registered as the "msgpack" Format.
Package multipart — boundary recovery and validation.
Package multipart — boundary recovery and validation.
Package ndjson implements newline-delimited JSON as a codec.Codec.
Package ndjson implements newline-delimited JSON as a codec.Codec.
Package pem wraps encoding/pem as a codec.Codec implementation.
Package pem wraps encoding/pem as a codec.Codec implementation.
Package strictjson — the reader that bounds a document and remembers why it stopped.
Package strictjson — the reader that bounds a document and remembers why it stopped.
httpbody
Package httpbody decodes the JSON body of an HTTP request with the strict decoder of its parent package, adding the three things only an HTTP body has: a bound net/http enforces too, an empty body settled before anything else, and a media type that must declare JSON.
Package httpbody decodes the JSON body of an HTTP request with the strict decoder of its parent package, adding the three things only an HTTP body has: a bound net/http enforces too, an empty body settled before anything else, and a media type that must declare JSON.
Package tlv implements a self-describing Type-Length-Value codec.
Package tlv implements a self-describing Type-Length-Value codec.
Package toml is the TOML codec, written against TOML v1.0.0 (https://toml.io/en/v1.0.0) with the standard library alone.
Package toml is the TOML codec, written against TOML v1.0.0 (https://toml.io/en/v1.0.0) with the standard library alone.
Package xml wraps encoding/xml as a codec.Codec implementation registered under Format("xml").
Package xml wraps encoding/xml as a codec.Codec implementation registered under Format("xml").
Package yaml — the block structure: mappings, sequences, keys and values.
Package yaml — the block structure: mappings, sequences, keys and values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL