package
1.20.4
Repository: https://github.com/aws/smithy-go.git
Documentation: pkg.go.dev

# Packages

Package cbor implements reflective encoding of Smithy documents for CBOR-based protocols.
Package json provides a document Encoder and Decoder implementation that is used to implement Smithy document types for JSON based protocols.

# Functions

IsNoSerde returns whether the given type implements the no smithy document serde interface.

# Structs

An InvalidMarshalError is an error type representing an error occurring when marshaling a Go value type.
An InvalidUnmarshalError is an error type representing an invalid type encountered while unmarshaling a Smithy document to a Go value type.
NoSerde is a sentinel value to indicate that a given type should not be marshaled or unmarshaled into a protocol document.
An UnmarshalError wraps an error that occurred while unmarshaling a Smithy document into a Go type.
UnmarshalTypeError is an error type representing an error unmarshaling a Smithy document to a Go value type.

# Interfaces

Marshaler is an interface for a type that marshals a document to its protocol-specific byte representation and returns the resulting bytes.
Unmarshaler is an interface for a type that unmarshals a document from its protocol-specific representation, and stores the result into the value pointed by v.

# Type aliases

Number is an arbitrary precision numerical value.