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