Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.53.0
type Config struct { helper.TransformerConfig `mapstructure:",squash"` Field entry.Field `mapstructure:"field"` }
Config is the configuration of a flatten operator
func NewConfig ¶ added in v0.53.0
func NewConfig() *Config
NewConfig creates a new flatten operator config with default values
func NewConfigWithID ¶ added in v0.59.0
NewConfigWithID creates a new flatten operator config with default values
type Transformer ¶ added in v0.53.0
type Transformer[T interface { entry.BodyField | entry.ResourceField | entry.AttributeField entry.FieldInterface Parent() T Child(string) T }] struct { helper.TransformerOperator Field T }
Transformer flattens an object in the entry field
Click to show internal directories.
Click to hide internal directories.