# Functions
MarshalValue converts v into a higher level value or a string as follows: - int, int8, int16, int32 -> int64 - uint, uint8, uint16, uint32 -> uint64 - float32 -> float64 - any slice/map/array -> string - time.Time, *text/template.Template, *html/template.Template, *regexp.RegExp, *url.URL -> string - *net.IPAddr, *net.IPNet -> string - encoding.TextMarshaler -> string
The following types are returned as is: - bool, time.Duration, float64, int, int64, string, uint, uint64
sliceSep, mapKeySep.
NewStruct recursively decomposes the input struct into its fields and embedded structs.
Set assigns v to the value.
UnmarshalValue unmarshals s into value.
# Constants
MapKeySeparator is used to separate map keys and their value.
SliceSeparator is used to separate slice and map items.
# Structs
StructField represents a struct field.
StructStruct represents a decomposed struct.