# Functions
GetRegister returns the package register.
JSONCollectionDecoder decodes a json collection and returns a map with the array at the 'collection' key.
JSONDecoder decodes a json message into a map.
NewJSONDecoder returns the right JSON decoder.
NewSafeJSONDecoder returns the universal json decoder.
NewStringDecoder returns a String decoder.
NoOpDecoder is a decoder that does nothing.
SafeJSONDecoder decodes both json objects and collections.
StringDecoder returns a map with the content of the reader under the key 'content'.
# Structs
DecoderRegister is the struct responsible of registering the decoder factories.
# Type aliases
Decoder is a function that reads from the reader and decodes it into an map of interfaces.
DecoderFactory is a function that returns CollectionDecoder or an EntityDecoder.