below is my json response and am trying to parse it using Scala in a Gatling script and the value of x is not returned. Can you see what may be the mistake --
[
[
{
"x": "2018-01-23",
"y": "test"
},
{
"x": "2018-02-02",
"y": "test1"
}
]
]
.check(jsonPath(path="$.[0].['x']").is(expected="2018-10-23")))
The error I get is - preparation crashed: 1 (100.0%)
Jackson failed to parse into a valid AST: c.f.j.c.JsonParseExc...