json

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONParser

type JSONParser struct {
	helper.ParserOperator
	// contains filtered or unexported fields
}

JSONParser is an operator that parses JSON.

func (*JSONParser) Process

func (j *JSONParser) Process(ctx context.Context, entry *entry.Entry) error

Process will parse an entry for JSON.

type JSONParserConfig

type JSONParserConfig struct {
	helper.ParserConfig `yaml:",inline"`
}

JSONParserConfig is the configuration of a JSON parser operator.

func NewJSONParserConfig

func NewJSONParserConfig(operatorID string) *JSONParserConfig

NewJSONParserConfig creates a new JSON parser config with default values

func (JSONParserConfig) Build

Build will build a JSON parser operator.

Jump to

Keyboard shortcuts

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