Documentation ¶
Overview ¶
Package encoding provides Decoding implementations.
Index ¶
- Constants
- func JSONCollectionDecoder(r io.Reader, v *map[string]interface{}) error
- func JSONDecoder(r io.Reader, v *map[string]interface{}) error
- func NewJSONDecoder(isCollection bool) func(io.Reader, *map[string]interface{}) error
- func NewSafeJSONDecoder(isCollection bool) func(io.Reader, *map[string]interface{}) error
- func NewStringDecoder(_ bool) func(io.Reader, *map[string]interface{}) error
- func NoOpDecoder(_ io.Reader, _ *map[string]interface{}) error
- func SafeJSONDecoder(r io.Reader, v *map[string]interface{}) error
- func StringDecoder(r io.Reader, v *map[string]interface{}) error
- type Decoder
- type DecoderFactory
- type DecoderRegister
Constants ¶
View Source
const JSON = "json"
View Source
const NOOP = "no-op"
View Source
const SAFE_JSON = "safejson"
View Source
const STRING = "string"
Variables ¶
This section is empty.
Functions ¶
func JSONCollectionDecoder ¶
func NewJSONDecoder ¶
func NewSafeJSONDecoder ¶
func NewStringDecoder ¶
Types ¶
type DecoderRegister ¶
type DecoderRegister struct {
// contains filtered or unexported fields
}
func GetRegister ¶
func GetRegister() *DecoderRegister
Click to show internal directories.
Click to hide internal directories.