Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dict ¶
A dictionary.
We use this type instead of raw type conversions to decrease the risk of confusion whenever manipulating `any` and to allow us to work with cases in which we do not have direct access to a dictionary.
type Driver ¶
type Driver interface { // Return true if we have a specific implementation of deserialization // for a given type, for instance, if that type implements a specific // deserialization interface. ShouldUnmarshal(reflect.Type) bool // Perform unmarshaling for a value. Unmarshal(any, *any) error // Wrap a basic value as a `Value`. WrapValue(any) Value }
A driver for a specific type of deserialization.
type Parser ¶ added in v0.3.0
A parser for strings into primitive values.
func LookupParser ¶ added in v0.3.0
type UnmarshalDict ¶ added in v0.3.0
A type that can be deserialized from a shared.Dict.
Click to show internal directories.
Click to hide internal directories.