[[inputs.file]]
  files = ["./testcases/json_array_expand/test.json"]
  data_format = "xpath_json"

  xpath_native_types = true

  [[inputs.file.xpath]]
    field_name_expansion = true
    metric_name = "'foo'"
    field_selection = "descendant::*[not(*)]"
    timestamp = "//timestamp"
    timestamp_format = "unix_ns"
