package
0.89.0
Repository: https://github.com/polydawn/refmt.git
Documentation: pkg.go.dev

# Packages

Atlas types are used to define how to map Go values into refmt token streams.

# Functions

Allocates the machinery for treating an object like a `TokenSource`.
Allocates the machinery for treating an in-memory object like a `TokenSink`.

# Structs

ErrInvalidUnmarshalTarget describes an invalid argument passed to Unmarshaller.Bind.
ErrMalformedTokenStream is the error returned when unmarshalling recieves ae completely invalid transition, such as when a map value is expected, but the map suddenly closes, or an array close is recieved with no matching array open.
ErrNoSuchField is the error returned when unmarshalling into a struct and the token stream for the map contains a key which is not defined for the struct.
ErrNoSuchUnionMember is the error returned when unmarshalling into a union interface and the token stream contains a key which does not name any of the known members of the union.
ErrUnmarshalTypeCantFit is the error returned when unmarshalling cannot coerce the tokens in the stream into the kind of variables the unmarshal is targetting, for example if a map open token comes when an int is expected, or an int token comes when a string is expected.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author