# Example taken from: https://github.com/influxdata/telegraf/issues/7097

# Parse String types from JSON
[[inputs.file]]
    files = ["./testdata/optional/input.json"]
    data_format = "json_v2"
    [[inputs.file.json_v2]]
        [[inputs.file.json_v2.field]]
            path = "wrong"
            optional = true
        [[inputs.file.json_v2.object]]
            path = "wrong"
            optional = true


