	@Test
	public void test() throws IOException {

		final ObjectMapper mapper = new ObjectMapper();

		final JsonNode j3 = mapper.readTree("3");
		final JsonNode j10 = mapper.readTree("10");
		final JsonNode jhoge = mapper.readTree("\"hoge\"");

		final JsonNodeComparator sut = new JsonNodeComparator();
		assertTrue(sut.compare(j3, j10) < 0);
		assertTrue(sut.compare(j3, jhoge) < 0);
		assertTrue(sut.compare(j10, jhoge) < 0);

		final List<JsonNode> nodes = new ArrayList<>(Arrays.asList(j3, jhoge, j10));
		nodes.sort(sut);
		assertEquals(Arrays.asList(j3, j10, jhoge), nodes);
	}