github.com/crowdsecurity/crowdsec@v1.6.1/pkg/parser/tests/json-unmarshal/test.yaml (about)

     1  #these are the events we input into parser
     2  lines:
     3    - Line:
     4        Raw: |
     5          {"foo": "bar", "pouet": 42}
     6    - Line:
     7        Raw: xxheader VALUE2 trailing stuff
     8  #these are the results we expect from the parser
     9  results:
    10    - Unmarshaled:
    11        JSON:
    12          foo: "bar"
    13          pouet: 42
    14      Process: true
    15      Stage: s00-raw
    16    - Unmarshaled:
    17        JSON: {}
    18      Process: true
    19      Stage: s00-raw
    20  
    21