### Question:
ConciseJsonTokenizer extends AbstractJsonTokenizer { public void setFlattenNestedArray(boolean flattenNestedArray) { this.scanner.setMustFlattenNestedArray(flattenNestedArray); } ConciseJsonTokenizer(final Reader input);  ConciseJsonTokenizer(final AttributeFactory factory, final Reader input); void setFlattenNestedArray(boolean flattenNestedArray); @Override void reset(); @Override void close();  }### Answer:
@Test public void testFlattenNestedArrays() throws Exception { _t.setFlattenNestedArray(true); this.assertTokenizesTo(_t, "{ \"a\" : [ 1, [2, 3], 4 ] }", new String[] { "1", "2", "3", "4" }, new String[] { "a", "a", "a", "a" }, new String[] { TOKEN_TYPES[NUMBER], TOKEN_TYPES[NUMBER], TOKEN_TYPES[NUMBER], TOKEN_TYPES[NUMBER] }, new String[] { XSD_LONG, XSD_LONG, XSD_LONG, XSD_LONG }, new int[] { 1, 1, 1, 1 }, new IntsRef[] { node(0), node(1), node(2), node(3) }); }