Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONFlattener ¶
type JSONFlattener struct {
Fields map[string]interface{}
}
func (*JSONFlattener) FlattenJSON ¶
func (f *JSONFlattener) FlattenJSON( fieldname string, v interface{}, ) error
FlattenJSON flattens nested maps/interfaces into a fields map
type JSONParser ¶
func (*JSONParser) SetDefaultTags ¶
func (p *JSONParser) SetDefaultTags(tags map[string]string)
Click to show internal directories.
Click to hide internal directories.