MCPcopy Create free account
hub / github.com/AdRoll/baker / ExpandJSON

Struct ExpandJSON

filter/expand_json.go:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52const trueIdx, falseIdx = 0, 1
53
54type ExpandJSON struct {
55 cfg *ExpandJSONConfig
56
57 fields []baker.FieldIndex
58 jexp []*jmespath.JMESPath
59 source baker.FieldIndex
60 trueFalseValues [2][]byte
61}
62
63func NewExpandJSON(cfg baker.FilterParams) (baker.Filter, error) {
64 dcfg := cfg.DecodedConfig.(*ExpandJSONConfig)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected