@Test
public void shouldMapNestedArray() {

	final Object[] root = { new Object[] { "field1", 1 }, new Object[] { "field2", 2 } };
	final IJsonNode node = this.mapper.map(root);
	Assert.assertEquals(
		new ArrayNode<IJsonNode>().add(new ArrayNode<IJsonNode>().add(new TextNode("field1")).add(new IntNode(1)))
			.add(new ArrayNode<IJsonNode>().add(new TextNode("field2")).add(new IntNode(2))),
		node);
}