crowdsec/pkg/parser/tests/json-unmarshal/test.yaml

22 lines
393 B
YAML

#these are the events we input into parser
lines:
- Line:
Raw: |
{"foo": "bar", "pouet": 42}
- Line:
Raw: xxheader VALUE2 trailing stuff
#these are the results we expect from the parser
results:
- Unmarshaled:
JSON:
foo: "bar"
pouet: 42
Process: true
Stage: s00-raw
- Unmarshaled:
JSON: {}
Process: true
Stage: s00-raw