Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProcessorName = "json"
Functions ¶
func Handler ¶
func Handler() core.ProcessHandler
Types ¶
type Config ¶
type Config struct {
Add []AddAction `json:"add"`
Remove []RemoveAction `json:"remove"`
Replace []ReplaceAction `json:"replace"`
}
type RemoveAction ¶
type RemoveAction struct {
Key string `json:"key"`
}
type ReplaceAction ¶
type ReplaceAction struct {
Key string `json:"key"`
Value interface{} `json:"value"`
NewValue interface{} `json:"new_value"`
}
Click to show internal directories.
Click to hide internal directories.