json

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProcessorName = "json"

Functions

func Handler

func Handler() core.ProcessHandler

Types

type AddAction

type AddAction struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL