@Test
public void testArgsParserNestedList() throws Exception {
SQLXContentSourceContext context = new SQLXContentSourceContext();
SQLXContentSourceParser parser = new SQLXContentSourceParser(context);
BytesArray source = new BytesArray("{\n" +
" \"stmt\": \"select * from locations where id = $2\",\n" +
" \"args\": [[\"1\", \"2\", [\"1\"]], \"1\", 1, 2, 2.0, 99999999999999999999999999999999]\n" +
"}\n");
parser.parseSource(source);
ObjectMapper mapper = new ObjectMapper();
assertEquals("[[\"1\",\"2\",[\"1\"]],\"1\",1,2,2.0,99999999999999999999999999999999]",
mapper.writeValueAsString(context.args()));
}